diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-04-18 12:55:03 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-04-18 12:55:03 +0200 |
| commit | 4514e8883fc10cb6e8b29fe78ede8bef41858a59 (patch) | |
| tree | ef7f04a2714fdf88656036f7fcf26458dfa43678 /SoftwareProperties | |
| parent | a34c35a2528041e658e541692adaa8b542a2e086 (diff) | |
| download | python-apt-4514e8883fc10cb6e8b29fe78ede8bef41858a59.tar.gz | |
* improved logging
* DistUpgrade/Changelog: added
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: |
