From: Dylan Baker <baker.dyla...@gmail.com> Trivial.
Signed-off-by: Dylan Baker <dylanx.c.ba...@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 _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit