diff options
author | Louis Bouchard <louis.bouchard@canonical.com> | 2013-04-12 12:28:18 +0200 |
---|---|---|
committer | Louis Bouchard <louis.bouchard@canonical.com> | 2013-04-12 12:28:18 +0200 |
commit | d382f43e57bfd2b7ff70aeaf55a53331b47647c2 (patch) | |
tree | 76b3cbf5e4dfe3ce8514f03ad41e5287827b3b78 | |
parent | def1b1d5b7a122a77c7b7f2f7f939d0517ce88fc (diff) | |
download | sos-d382f43e57bfd2b7ff70aeaf55a53331b47647c2.tar.gz |
Fixes the packages() statement that was no working for Ubuntu/Debian
-rw-r--r-- | sos/policies/debian.py | 8 |
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): |