RefactoringRope/ProgressHandle.py

changeset 20
83b71483e198
parent 2
fc72a5b922a6
child 35
79e19b499675
diff -r 32dd7dbf3e8e -r 83b71483e198 RefactoringRope/ProgressHandle.py
--- a/RefactoringRope/ProgressHandle.py	Sun Jan 30 19:00:34 2011 +0100
+++ b/RefactoringRope/ProgressHandle.py	Sun Jan 30 19:19:40 2011 +0100
@@ -11,6 +11,7 @@
 
 import rope.base.taskhandle
 
+
 class ProgressHandle(rope.base.taskhandle.TaskHandle):
     """
     Class implementing TaskHandle with a progress dialog.
@@ -20,13 +21,13 @@
         Constructor
         
         @param title title for the taskhandle (string)
-        @param interruptable flag indicating, that the task may be 
+        @param interruptable flag indicating, that the task may be
             interrupted (boolean)
         @param parent reference to the parent widget (QWidget)
         """
         rope.base.taskhandle.TaskHandle.__init__(self, title, interruptable)
         if interruptable:
-            cancelLabel = QApplication.translate("ProgressHandle","Interrupt")
+            cancelLabel = QApplication.translate("ProgressHandle", "Interrupt")
         else:
             cancelLabel = ""
         self.__progress = QProgressDialog("", cancelLabel, 0, 100, parent)

eric ide

mercurial