1. Ian George
  2. ropemacs

Commits

Ali Gholami Rudi  committed 8fc6c74

lisputils: calling progress.done() when a task finishes

  • Participants
  • Parent commits a7b3e51
  • Branches trunk

Comments (0)

Files changed (1)

File ropemacs/lisputils.py

View file
  • Ignore whitespace
                 if percent is not None:
                     progress.update(percent)
         handle.add_observer(update_progress)
-        return self.task(handle)
+        result = self.task(handle)
+        progress.done()
+        return result
 
 
 def runtask(command, name, interrupts=True):