eric6/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py

changeset 7262
c4b5f3393d63
parent 7229
53054eb5b15a
child 7360
9190402e4505
--- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py	Tue Sep 24 18:42:25 2019 +0200
+++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnUrlSelectionDialog.py	Tue Sep 24 18:45:33 2019 +0200
@@ -78,8 +78,10 @@
             self.repoRootLabel2.setText(reposRoot)
         else:
             project = e5App().getObject('Project')
-            if Utilities.normcasepath(path) != \
-               Utilities.normcasepath(project.getProjectPath()):
+            if (
+                Utilities.normcasepath(path) !=
+                Utilities.normcasepath(project.getProjectPath())
+            ):
                 path = project.getRelativePath(path)
                 reposURL = reposURL.replace(path, '')
             self.repoRootLabel1.hide()
@@ -143,12 +145,16 @@
             a flag indicating a diff summary (boolean)
         """
         if self.vcs.otherData["standardLayout"]:
-            url1 = self.repoRootLabel1.text() + \
-                self.typeCombo1.currentText() + \
+            url1 = (
+                self.repoRootLabel1.text() +
+                self.typeCombo1.currentText() +
                 self.labelCombo1.currentText()
-            url2 = self.repoRootLabel2.text() + \
-                self.typeCombo2.currentText() + \
+            )
+            url2 = (
+                self.repoRootLabel2.text() +
+                self.typeCombo2.currentText() +
                 self.labelCombo2.currentText()
+            )
         else:
             url1 = self.labelCombo1.currentText()
             url2 = self.labelCombo2.currentText()

eric ide

mercurial