Reviewed-by: Dylan Baker <[email protected]>
On Sat, Mar 14, 2015 at 01:00:39AM -0700, Vinson Lee wrote: > Signed-off-by: Vinson Lee <[email protected]> > --- > 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 > [email protected] > http://lists.freedesktop.org/mailman/listinfo/piglit
signature.asc
Description: Digital signature
_______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
