Commits

Anonymous committed 8fc6c74

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

Comments (0)

Files changed (1)

ropemacs/lisputils.py

                 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):