Commits

Ali Gholami Rudi  committed 093201d

rope-generate-*: fixed going to the definition afterwards

  • Participants
  • Parent commits b5dd42b

Comments (0)

Files changed (1)

File ropemacs/refactor.py

         return self.generator.get_changes()
 
     def _done(self):
-        self.interface._goto_location(self.generator.get_location())
+        resource, lineno = self.generator.get_location()
+        self.interface._goto_location(resource, lineno)
 
 
 class GenerateVariable(_GenerateElement):