aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis Bouchard <louis.bouchard@canonical.com>2013-04-12 12:28:18 +0200
committerLouis Bouchard <louis.bouchard@canonical.com>2013-04-12 12:28:18 +0200
commitd382f43e57bfd2b7ff70aeaf55a53331b47647c2 (patch)
tree76b3cbf5e4dfe3ce8514f03ad41e5287827b3b78
parentdef1b1d5b7a122a77c7b7f2f7f939d0517ce88fc (diff)
downloadsos-d382f43e57bfd2b7ff70aeaf55a53331b47647c2.tar.gz
Fixes the packages() statement that was no working for Ubuntu/Debian
-rw-r--r--sos/policies/debian.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/sos/policies/debian.py b/sos/policies/debian.py
index 94b089f3..8423f175 100644
--- a/sos/policies/debian.py
+++ b/sos/policies/debian.py
@@ -7,13 +7,13 @@ class DebianPolicy(LinuxPolicy):
distro = "Debian"
vendor = "the Debian project"
vendor_url = "http://www.debian.org/"
- report_name = ""
- ticket_number = ""
- package_manager = PackageManager("dpkg-query -W -f='${Package}|${Version}\\n' \*")
- valid_subclasses = [DebianPlugin]
def __init__(self):
super(DebianPolicy, self).__init__()
+ self.report_name = ""
+ self.ticket_number = ""
+ self.package_manager = PackageManager("dpkg-query -W -f='${Package}|${Version}\\n' \*")
+ self.valid_subclasses = [DebianPlugin]
@classmethod
def check(self):