[Piglit] [PATCH] framework/core.py: Fix PEP 8 issues.
Dylan Baker
baker.dylan.c at gmail.com
Mon Mar 16 14:27:57 PDT 2015
Reviewed-by: Dylan Baker <baker.dylan.c at gmail.com>
On Sat, Mar 14, 2015 at 01:00:39AM -0700, Vinson Lee wrote:
> 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
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20150316/5fe9663a/attachment.sig>
More information about the Piglit
mailing list