[Piglit] [PATCH 2/6] dmesg.py: fix indents which are 8 space but should be 4

baker.dylan.c at gmail.com baker.dylan.c at gmail.com
Mon Nov 23 22:01:09 PST 2015


From: Dylan Baker <baker.dylan.c at gmail.com>

Trivial.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 framework/dmesg.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/framework/dmesg.py b/framework/dmesg.py
index daeeeae..1982dec 100644
--- a/framework/dmesg.py
+++ b/framework/dmesg.py
@@ -168,9 +168,9 @@ class LinuxDmesg(BaseDmesg):
         # First check to see if we can find the live kernel config.
         try:
             with gzip.open("/proc/config.gz", 'r') as f:
-                    for line in f:
-                            if line.startswith("CONFIG_PRINTK_TIME=y"):
-                                    return
+                for line in f:
+                    if line.startswith("CONFIG_PRINTK_TIME=y"):
+                        return
         # If there is a malformed or missing file, just ignore it and try the
         # regex match (which may not exist if dmesg ringbuffer was cleared).
         except Exception:
-- 
2.6.2



More information about the Piglit mailing list