aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-07-08 22:32:34 +0100
committerBryn M. Reeves <bmr@redhat.com>2014-07-08 22:32:34 +0100
commit7f444ff70d9221a1604df82bbfcbb2fc0049ee9c (patch)
tree9dbc5005a87d10e2d201c550e737235bd7b2e63b
parenta9453482604df84ade562f1ff01f439009f91d2d (diff)
downloadsos-7f444ff70d9221a1604df82bbfcbb2fc0049ee9c.tar.gz
[foreman] string building style fixes
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/foreman.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sos/plugins/foreman.py b/sos/plugins/foreman.py
index 661c0756..773efeeb 100644
--- a/sos/plugins/foreman.py
+++ b/sos/plugins/foreman.py
@@ -25,7 +25,8 @@ class Foreman(Plugin, RedHatPlugin):
packages = ('foreman')
def setup(self):
- self.add_cmd_output("%s -q -a -d %s" % ("foreman-debug",
- self.get_cmd_output_path(name="foreman-debug")))
+ cmd = "foreman-debug"
+ path = self.get_cmd_output_path(name="foreman-debug")
+ self.add_cmd_output("%s -q -a -d %s" % (cmd, path))
# vim: et ts=4 sw=4