Alexander Solovyov avatar Alexander Solovyov committed 4ba6b1d

fixed imports

Comments (0)

Files changed (1)

rope/base/project.py

 
 import rope.base.change
 import rope.base.fscommands
-import rope.base.history
-import rope.base.prefs
-import rope.base.pycore
-from rope.base import exceptions, taskhandle
+from rope.base import exceptions, taskhandle, prefs, pycore, history
 from rope.base.resources import File, Folder
 
 
         self.observers = []
         self._history = None
         self.operations = rope.base.change._ResourceOperations(self, fscommands)
-        self.prefs = rope.base.prefs.Prefs()
+        self.prefs = prefs.Prefs()
         self._pycore = None
 
     def get_resource(self, resource_name):
 
     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):
 
     def _get_history(self):
         if self._history is None:
-            self._history = rope.base.history.History(self)
+            self._history = history.History(self)
         return self._history
 
     history = property(_get_history)
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 ProjectModifiedEvent.java.
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.