Commits

Anonymous committed 0ca5051

codeassist: not importing findit module

Comments (0)

Files changed (1)

rope/contrib/codeassist.py

 
 import rope.base.codeanalyze
 import rope.base.evaluate
-import rope.contrib.findit
 from rope.base import pyobjects, pynames, builtins, exceptions, worder
 from rope.base.codeanalyze import ArrayLinesAdapter, LogicalLineFinder, SourceLinesAdapter
 from rope.refactor import functionutils, importutils
 
 
 def find_occurrences(*args, **kwds):
+    import rope.contrib.findit
     warnings.warn('Use `rope.contrib.findit.find_occurrences()` instead',
                   DeprecationWarning, stacklevel=2)
     return rope.contrib.findit.find_occurrences(*args, **kwds)