[sos-devel] [v2 PATCH] [last] Fix pep8 issue

Kamalesh Babulal kamalesh at linux.vnet.ibm.com
Fri Jul 10 12:18:10 UTC 2015


Fix E126 continuation line over-indented for hanging indent
pep8 issue.

Signed-off-by: Kamalesh Babulal <kamalesh at linux.vnet.ibm.com>
Cc: Bryn M. Reeves <bmr at redhat.com>
---
v2:
  - Change add_cmd_output() closing braces indentation.

 sos/plugins/last.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sos/plugins/last.py b/sos/plugins/last.py
index d6b791d..1353018 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
-- 
2.1.2




More information about the sos-devel mailing list