diff options
author | Shane Bradley <sbradley@redhat.com> | 2016-03-07 14:01:48 -0500 |
---|---|---|
committer | Shane Bradley <sbradley@redhat.com> | 2016-03-07 14:01:48 -0500 |
commit | 04c5b1f05107ee5be425bf81cfbc83648c4b745c (patch) | |
tree | 4bfbd1c42e18829d5d3ba4b50f4047bbc1956c96 | |
parent | 384e0c432a09f092ff5062dc74dc9389adef5d67 (diff) | |
download | sos-04c5b1f05107ee5be425bf81cfbc83648c4b745c.tar.gz |
[sos] Fix code formatting in plugins.
Signed-off-by: Shane Bradley <sbradley@redhat.com>
-rw-r--r-- | sos/plugins/atomichost.py | 3 | ||||
-rw-r--r-- | sos/plugins/last.py | 8 | ||||
-rw-r--r-- | sos/plugins/networking.py | 4 |
3 files changed, 7 insertions, 8 deletions
diff --git a/sos/plugins/atomichost.py b/sos/plugins/atomichost.py index 7295f6c7..46d12e3f 100644 --- a/sos/plugins/atomichost.py +++ b/sos/plugins/atomichost.py @@ -38,7 +38,6 @@ class AtomicHost(Plugin, RedHatPlugin): if self.get_option('info'): images = self.get_command_output("docker images -q") for image in set( - images['output'].splitlines() - ): + images['output'].splitlines()): if image: self.add_cmd_output("atomic info {0}".format(image)) diff --git a/sos/plugins/last.py b/sos/plugins/last.py index d6b791d8..1353018c 100644 --- a/sos/plugins/last.py +++ b/sos/plugins/last.py @@ -25,9 +25,9 @@ class Last(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): def setup(self): self.add_cmd_output("last", root_symlink="last") self.add_cmd_output([ - "last reboot", - "last shutdown", - "lastlog" - ]) + "last reboot", + "last shutdown", + "lastlog" + ]) # vim: et ts=4 sw=4 diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py index 647e4aee..b9c0fa70 100644 --- a/sos/plugins/networking.py +++ b/sos/plugins/networking.py @@ -261,8 +261,8 @@ class Networking(Plugin): if brctl_file: for br_name in self.get_bridge_name(brctl_file): self.add_cmd_output([ - "brctl showstp "+br_name, - "brctl showmacs "+br_name + "brctl showstp "+br_name, + "brctl showmacs "+br_name ]) if self.get_option("traceroute"): |