Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesDefineGuardsDialog.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3020
542e97d4ecb3
child 3060
5883ce99ee12
--- a/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesDefineGuardsDialog.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesDefineGuardsDialog.py	Fri Nov 01 15:48:48 2013 +0100
@@ -77,7 +77,8 @@
                 self.process.waitForFinished(3000)
         
         if self.__dirtyList:
-            res = E5MessageBox.question(self,
+            res = E5MessageBox.question(
+                self,
                 self.trUtf8("Unsaved Changes"),
                 self.trUtf8("""The guards list has been changed."""
                             """ Shall the changes be applied?"""),
@@ -119,7 +120,8 @@
         @param patch selected patch name (empty for current patch)
         """
         if self.__dirtyList:
-            res = E5MessageBox.question(self,
+            res = E5MessageBox.question(
+                self,
                 self.trUtf8("Unsaved Changes"),
                 self.trUtf8("""The guards list has been changed."""
                             """ Shall the changes be applied?"""),
@@ -241,7 +243,8 @@
         """
         Private slot to remove guard definitions from the list.
         """
-        res = E5MessageBox.yesNo(self,
+        res = E5MessageBox.yesNo(
+            self,
             self.trUtf8("Remove Guards"),
             self.trUtf8(
                 """Do you really want to remove the selected guards?"""))
@@ -303,14 +306,16 @@
                                 process.readAllStandardError(), ioEncoding,
                                 'replace')
                     else:
-                        E5MessageBox.warning(self,
+                        E5MessageBox.warning(
+                            self,
                             self.trUtf8("Apply Guard Definitions"),
                             self.trUtf8(
                                 """The Mercurial process did not finish"""
                                 """ in time."""))
             
             if error:
-                E5MessageBox.warning(self,
+                E5MessageBox.warning(
+                    self,
                     self.trUtf8("Apply Guard Definitions"),
                     self.trUtf8("""<p>The defined guards could not be"""
                                 """ applied.</p><p>Reason: {0}</p>""")\

eric ide

mercurial