From 4514e8883fc10cb6e8b29fe78ede8bef41858a59 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 18 Apr 2006 12:55:03 +0200 Subject: * improved logging * DistUpgrade/Changelog: added --- SoftwareProperties/aptsources.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'SoftwareProperties') 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: -- cgit v1.2.3