Commits

Ali Gholami Rudi  committed 6f5961d

ropemacs: handled organize imports when no change is made

  • Participants
  • Parent commits ef152ea

Comments (0)

Files changed (1)

File rope/contrib/ropemacs.py

         self._perform(organizer.organize_imports(self._get_resource()))
 
     def _perform(self, changes):
+        if changes is None:
+            return
         self.project.do(changes)
         self._reload_buffers(changes.get_changed_resources())
         lisp.message(str(changes.description) + ' finished')