RefactoringRope/RefactoringClient.py

branch
eric7
changeset 409
65153bf17e8d
parent 389
4f53795beff0
child 411
8cccb49bba7b
--- a/RefactoringRope/RefactoringClient.py	Tue Dec 20 14:31:55 2022 +0100
+++ b/RefactoringRope/RefactoringClient.py	Tue Dec 20 14:33:49 2022 +0100
@@ -7,16 +7,16 @@
 Module implementing the refactoring client interface to rope.
 """
 
-import sys
+import contextlib
 import os
-import contextlib
+import sys
 
 modulePath = sys.argv[-1]  # it is always the last parameter
 sys.path.append(modulePath)
 
 try:
+    import rope.base.libutils
     import rope.base.project
-    import rope.base.libutils
 except ImportError:
     sys.exit(42)
 

eric ide

mercurial