[Piglit] [PATCH 4/4] framework/core.py: pep8 fixes

Dylan Baker baker.dylan.c at gmail.com
Thu Dec 12 14:40:21 PST 2013


fixes pep8 whitespace errors

Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
 framework/core.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/framework/core.py b/framework/core.py
index 5a9e8b0..38217b0 100644
--- a/framework/core.py
+++ b/framework/core.py
@@ -44,7 +44,6 @@ except ImportError:
     import json
 
 from threadpool import ThreadPool
-
 import status
 
 __all__ = ['Environment',
@@ -58,6 +57,7 @@ __all__ = ['Environment',
            'Test',
            'testBinDir']
 
+
 class PiglitJSONEncoder(json.JSONEncoder):
     def default(self, o):
         if isinstance(o, status.Status):
@@ -66,6 +66,7 @@ class PiglitJSONEncoder(json.JSONEncoder):
             return list(o)
         return json.JSONEncoder.default(self, o)
 
+
 class JSONWriter:
     '''
     Writes to a JSON file stream
@@ -232,6 +233,7 @@ if 'PIGLIT_SOURCE_DIR' not in os.environ:
 if 'MESA_DEBUG' not in os.environ:
     os.environ['MESA_DEBUG'] = 'silent'
 
+
 class TestResult(dict):
     def __init__(self, *args):
         dict.__init__(self, *args)
@@ -608,13 +610,13 @@ def loadTestProfile(filename):
 
 def load_results(filename):
     """ Loader function for TestrunResult class
-    
+
     This function takes a single argument of a results file.
 
     It makes quite a few assumptions, first it assumes that it has been passed
     a folder, if that fails then it looks for a plain text json file called
     "main"
-    
+
     """
     filename = os.path.realpath(filename)
 
-- 
1.8.5.1



More information about the Piglit mailing list