[py3k] fix relative import
authorJulien Cristau <julien.cristau@logilab.fr>
Mon, 28 Jul 2014 11:12:58 +0200
changeset 760 5b44acfd687b
parent 759 abffb3f1ab37
child 761 d9762b5a4604
[py3k] fix relative import Implicit relative imports no longer work.
analyze.py
--- a/analyze.py	Fri Jul 25 21:01:03 2014 +0200
+++ b/analyze.py	Mon Jul 28 11:12:58 2014 +0200
@@ -34,7 +34,7 @@
     pure = bool(os.environ.get('RQL_USE_PURE_PYTHON_ANALYSE', 0))
     if pure:
         raise ImportError
-    import rql_solve
+    from rql import rql_solve
 except ImportError:
     rql_solve = None
     import warnings