Alexander Solovyov avatar Alexander Solovyov committed ca136d4

fixed import circle

Comments (0)

Files changed (2)


 import rope.base.change
 import rope.base.fscommands
-import rope.base.pycore
 import rope.base.resourceobserver
-from rope.base import exceptions, taskhandle, prefs, history
+from rope.base import exceptions, taskhandle, prefs, history, pycore
 from rope.base.resources import File, Folder
 from rope.base.resourceobserver import *
     def get_pycore(self):
         if self._pycore is None:
-            self._pycore = rope.base.pycore.PyCore(self)
+            self._pycore = pycore.PyCore(self)
         return self._pycore
     def get_file(self, path):


 import rope.base.oi.dynamicoi
 import rope.base.oi.objectinfo
 import rope.base.oi.staticoi
-import rope.base.project
 from rope.base import ast, exceptions, taskhandle
 from rope.base.exceptions import ModuleNotFoundError
 from rope.base.pyobjectsdef import PyModule, PyPackage, PyClass
         return None
     def get_python_path_folders(self):
+        import rope.base.project
         result = []
         for src in sys.path + self.project.prefs.get('python_path', []):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.