summaryrefslogtreecommitdiff
path: root/SoftwareProperties
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-04-18 12:55:03 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-04-18 12:55:03 +0200
commit4514e8883fc10cb6e8b29fe78ede8bef41858a59 (patch)
treeef7f04a2714fdf88656036f7fcf26458dfa43678 /SoftwareProperties
parenta34c35a2528041e658e541692adaa8b542a2e086 (diff)
downloadpython-apt-4514e8883fc10cb6e8b29fe78ede8bef41858a59.tar.gz
* improved logging
* DistUpgrade/Changelog: added
Diffstat (limited to 'SoftwareProperties')
-rw-r--r--SoftwareProperties/aptsources.py4
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: