[Piglit] [PATCH] framework/core.py: Fix PEP 8 issues.
Vinson Lee
vlee at freedesktop.org
Sat Mar 14 01:00:39 PDT 2015
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
framework/core.py | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/framework/core.py b/framework/core.py
index dfc8f6a..3ee2870 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):
--
2.3.2
More information about the Piglit
mailing list