Commits

Anonymous committed 0eba6d7

don't access _CodeAssist.autoimport before opening the project

Reported by Ben Davis <bendavis78@gmail.com>.

  • Participants
  • Parent commits 2718d48

Comments (0)

Files changed (1)

ropemode/interface.py

 
     def __init__(self, interface, env):
         self.interface = interface
-        self.autoimport = interface.autoimport
         self.env = env
 
     def code_assist(self, prefix):
     @utils.cacheit
     def expression(self):
         return codeassist.starting_expression(self.source, self.offset)
+
+    @property
+    def autoimport(self):
+        return self.interface.autoimport