[Piglit] [RESEND Patch V2 05/16] framework/core.py: Fix local imports
Dylan Baker
baker.dylan.c at gmail.com
Thu Jan 23 09:08:00 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 1f14b06..f7f0cf4 100644
--- a/framework/core.py
+++ b/framework/core.py
@@ -41,7 +41,9 @@ try:
except ImportError:
import json
-import status
+import framework.status as status
+from .threads import synchronized_self
+from .log import log
__all__ = ['PIGLIT_CONFIG',
'Environment',
--
1.8.5.3
More information about the Piglit
mailing list