aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis Bouchard <louis.bouchard@canonical.com>2014-09-12 15:29:56 +0200
committerAdam Stokes <adam.stokes@ubuntu.com>2014-09-12 09:41:19 -0400
commit256a09c083073f783eae2149c178cf45448ea38d (patch)
tree9efafe6058bc914900b08dc9f0e429e5a820af88
parent06bd56730010f33a2be8d1e8c4182a20881789e2 (diff)
downloadsos-256a09c083073f783eae2149c178cf45448ea38d.tar.gz
Fix variable naming according to comment
Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
-rw-r--r--sos/plugins/apt.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/apt.py b/sos/plugins/apt.py
index 84faf605..4fa76762 100644
--- a/sos/plugins/apt.py
+++ b/sos/plugins/apt.py
@@ -28,7 +28,7 @@ class Apt(Plugin, DebianPlugin, UbuntuPlugin):
"/etc/apt", "/var/log/apt"
])
- shell_cmd = "sh -c '%s'" % (
+ apt_cache_policy_ext = "sh -c '%s'" % (
"dpkg -l | grep ^ii |"
"cut -d \" \" -f3 |"
"xargs apt-cache policy"
@@ -38,7 +38,7 @@ class Apt(Plugin, DebianPlugin, UbuntuPlugin):
"apt-config dump",
"apt-cache stats",
"apt-cache policy",
- shell_cmd
+ apt_cache_policy_ext
])
# vim: et ts=4 sw=4