[Piglit] [PATCH 05/16] framework/core.py: Fix local imports

Dylan Baker baker.dylan.c at gmail.com
Thu Jan 16 22:19:55 PST 2014


Local imports (those that belong to the local package) should be
separated from global imports. They also should use explicit import
syntax rather than the old implicit syntax.

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

diff --git a/framework/core.py b/framework/core.py
index 20d7a51..b4bc721 100644
--- a/framework/core.py
+++ b/framework/core.py
@@ -39,7 +39,9 @@ try:
 except ImportError:
     import json
 
-import status
+import framework.status as status
+from .threads import synchronized_self
+from .log import log
 
 __all__ = ['Environment',
            'checkDir',
-- 
1.8.5.3



More information about the Piglit mailing list