Commits

Anonymous committed 3edbc11

interface: fixed opening out of project resources in readonly mode

Comments (0)

Files changed (1)

ropecommon/interface.py

     def _goto_location(self, resource, lineno):
         if resource:
             self.env.find_file(str(resource.real_path),
-                               resource.project == self.project)
+                               resource.project != self.project)
         if lineno:
             self.env.goto_line(lineno)