diff options
Diffstat (limited to 'SoftwareProperties')
| -rw-r--r-- | SoftwareProperties/aptsources.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/SoftwareProperties/aptsources.py b/SoftwareProperties/aptsources.py index a2d0a67d..417563d4 100644 --- a/SoftwareProperties/aptsources.py +++ b/SoftwareProperties/aptsources.py @@ -182,6 +182,10 @@ class SourceEntry: if string.strip(self.line)[0] != "#": self.line = "#" + self.line + def __str__(self): + """ debug helper """ + return self.str().strip() + def str(self): """ return the current line as string """ if self.invalid: |
