Plugins/VcsPlugins/vcsMercurial/QueuesExtension/queues.py

changeset 3020
542e97d4ecb3
parent 3008
7848489bcb92
child 3034
7ce719013078
child 3058
0a02c433f52d
--- a/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/queues.py	Mon Oct 14 18:26:25 2013 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/queues.py	Mon Oct 14 19:30:36 2013 +0200
@@ -403,7 +403,8 @@
                 else:
                     return False
             else:
-                E5MessageBox.information(None,
+                E5MessageBox.information(
+                    None,
                     self.trUtf8("Select Patch"),
                     self.trUtf8("""No patches to select from."""))
                 return False
@@ -515,7 +516,8 @@
                 if res:
                     dia.exec_()
         else:
-            E5MessageBox.information(None,
+            E5MessageBox.information(
+                None,
                 self.trUtf8("Select Patch"),
                 self.trUtf8("""No patches to select from."""))
     
@@ -553,11 +555,13 @@
                     if res:
                         dia.exec_()
                 else:
-                    E5MessageBox.information(None,
+                    E5MessageBox.information(
+                        None,
                         self.trUtf8("Fold Patches"),
                         self.trUtf8("""No patches selected."""))
         else:
-            E5MessageBox.information(None,
+            E5MessageBox.information(
+                None,
                 self.trUtf8("Fold Patches"),
                 self.trUtf8("""No patches available to be folded."""))
     
@@ -583,7 +587,8 @@
             self.queuesListGuardsDialog.show()
             self.queuesListGuardsDialog.start(name)
         else:
-            E5MessageBox.information(None,
+            E5MessageBox.information(
+                None,
                 self.trUtf8("List Guards"),
                 self.trUtf8("""No patches available to list guards for."""))
     
@@ -620,7 +625,8 @@
             self.queuesDefineGuardsDialog.show()
             self.queuesDefineGuardsDialog.start(name)
         else:
-            E5MessageBox.information(None,
+            E5MessageBox.information(
+                None,
                 self.trUtf8("Define Guards"),
                 self.trUtf8("""No patches available to define guards for."""))
     
@@ -665,7 +671,8 @@
                     if procStarted:
                         process.waitForFinished(30000)
         else:
-            E5MessageBox.information(None,
+            E5MessageBox.information(
+                None,
                 self.trUtf8("Drop All Guards"),
                 self.trUtf8("""No patches available to define guards for."""))
     
@@ -701,7 +708,8 @@
                     if res:
                         dia.exec_()
         else:
-            E5MessageBox.information(None,
+            E5MessageBox.information(
+                None,
                 self.trUtf8("Set Active Guards"),
                 self.trUtf8("""No guards available to select from."""))
             return
@@ -807,7 +815,8 @@
                     else:
                         errMsg = self.trUtf8(
                             "Error while renaming the active queue.")
-                    E5MessageBox.warning(None,
+                    E5MessageBox.warning(
+                        None,
                         title,
                         """<p>{0}</p><p>{1}</p>""".format(errMsg, error))
                 else:
@@ -883,7 +892,8 @@
                     elif operation == Queues.QUEUE_ACTIVATE:
                         errMsg = self.trUtf8(
                             "Error while setting the active queue.")
-                    E5MessageBox.warning(None,
+                    E5MessageBox.warning(
+                        None,
                         title,
                         """<p>{0}</p><p>{1}</p>""".format(errMsg, error))
                 else:

eric ide

mercurial