eric6/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/ProjectHelper.py

changeset 7257
c4d0cac9b5c9
parent 7229
53054eb5b15a
child 7360
9190402e4505
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/ProjectHelper.py	Sat Sep 21 20:30:56 2019 +0200
+++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/ProjectHelper.py	Sat Sep 21 22:03:03 2019 +0200
@@ -125,8 +125,10 @@
         """
         Private slot used to start a history editing session.
         """
-        shouldReopen = self.vcs.getExtensionObject("histedit")\
+        shouldReopen = (
+            self.vcs.getExtensionObject("histedit")
             .hgHisteditStart(self.project.getProjectPath())
+        )
         if shouldReopen:
             res = E5MessageBox.yesNo(
                 None,
@@ -140,8 +142,10 @@
         """
         Private slot used to continue an interrupted history editing session.
         """
-        shouldReopen = self.vcs.getExtensionObject("histedit")\
+        shouldReopen = (
+            self.vcs.getExtensionObject("histedit")
             .hgHisteditContinue(self.project.getProjectPath())
+        )
         if shouldReopen:
             res = E5MessageBox.yesNo(
                 None,
@@ -155,8 +159,10 @@
         """
         Private slot used to abort an interrupted history editing session.
         """
-        shouldReopen = self.vcs.getExtensionObject("histedit")\
+        shouldReopen = (
+            self.vcs.getExtensionObject("histedit")
             .hgHisteditAbort(self.project.getProjectPath())
+        )
         if shouldReopen:
             res = E5MessageBox.yesNo(
                 None,
@@ -171,8 +177,10 @@
         Private slot used to edit the remaining actions list of an interrupted
         history editing session.
         """
-        shouldReopen = self.vcs.getExtensionObject("histedit")\
+        shouldReopen = (
+            self.vcs.getExtensionObject("histedit")
             .hgHisteditEditPlan(self.project.getProjectPath())
+        )
         if shouldReopen:
             res = E5MessageBox.yesNo(
                 None,

eric ide

mercurial