diff options
author | Vinson Lee <vlee@freedesktop.org> | 2015-03-14 00:57:13 -0700 |
---|---|---|
committer | Vinson Lee <vlee@freedesktop.org> | 2015-03-16 23:19:45 -0700 |
commit | ea3302b414f9e111ee356454cdad6796119a138f (patch) | |
tree | 80353ac9325715aa319c1b1b22a9549c2b32ff66 | |
parent | fccf75628341ba796ca75deb414b14d2f3e315d0 (diff) |
framework/core.py: Fix PEP 8 issues.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
-rw-r--r-- | framework/core.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/framework/core.py b/framework/core.py index dfc8f6a43..3ee28709b 100644 --- a/framework/core.py +++ b/framework/core.py @@ -42,6 +42,7 @@ __all__ = [ PLATFORMS = ["glx", "x11_egl", "wayland", "gbm", "mixed_glx_egl"] PIGLIT_CONFIG = ConfigParser.SafeConfigParser(allow_no_value=True) + def get_config(arg=None): if arg: PIGLIT_CONFIG.readfp(arg) @@ -112,8 +113,11 @@ class Options(object): # to change across runs, without sending them to os.environ which is # fickle and easy to break self.env = { - 'PIGLIT_SOURCE_DIR': os.environ.get('PIGLIT_SOURCE_DIR', - os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) + 'PIGLIT_SOURCE_DIR': + os.environ.get( + 'PIGLIT_SOURCE_DIR', + os.path.abspath(os.path.join(os.path.dirname(__file__), + '..'))) } def __iter__(self): |