Plugins/VcsPlugins/vcsPySvn/SvnNewProjectOptionsDialog.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 3009
bf5ae5d7477d
child 3060
5883ce99ee12
diff -r 9986ec0e559a -r 10516539f238 Plugins/VcsPlugins/vcsPySvn/SvnNewProjectOptionsDialog.py
--- a/Plugins/VcsPlugins/vcsPySvn/SvnNewProjectOptionsDialog.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/Plugins/VcsPlugins/vcsPySvn/SvnNewProjectOptionsDialog.py	Fri Oct 18 23:00:41 2013 +0200
@@ -4,7 +4,8 @@
 #
 
 """
-Module implementing the Subversion Options Dialog for a new project from the repository.
+Module implementing the Subversion Options Dialog for a new project from the
+repository.
 """
 
 from __future__ import unicode_literals    # __IGNORE_WARNING__
@@ -26,7 +27,8 @@
 
 class SvnNewProjectOptionsDialog(QDialog, Ui_SvnNewProjectOptionsDialog):
     """
-    Class implementing the Options Dialog for a new project from the repository.
+    Class implementing the Options Dialog for a new project from the
+    repository.
     """
     def __init__(self, vcs, parent=None):
         """
@@ -54,7 +56,8 @@
         self.localProtocol = True
         
         self.vcsProjectDirEdit.setText(Utilities.toNativeSeparators(
-            Preferences.getMultiProject("Workspace") or Utilities.getHomeDir()))
+            Preferences.getMultiProject("Workspace") or 
+            Utilities.getHomeDir()))
         
     @pyqtSlot()
     def on_vcsUrlButton_clicked(self):
@@ -69,11 +72,13 @@
                 E5FileDialog.Options(E5FileDialog.ShowDirsOnly))
             
             if directory:
-                self.vcsUrlEdit.setText(Utilities.toNativeSeparators(directory))
+                self.vcsUrlEdit.setText(
+                    Utilities.toNativeSeparators(directory))
         else:
             from .SvnRepoBrowserDialog import SvnRepoBrowserDialog
             dlg = SvnRepoBrowserDialog(self.vcs, mode="select", parent=self)
-            dlg.start(self.protocolCombo.currentText() + self.vcsUrlEdit.text())
+            dlg.start(
+                self.protocolCombo.currentText() + self.vcsUrlEdit.text())
             if dlg.exec_() == QDialog.Accepted:
                 url = dlg.getSelectedUrl()
                 if url:
@@ -95,7 +100,8 @@
             E5FileDialog.Options(E5FileDialog.ShowDirsOnly))
         
         if directory:
-            self.vcsProjectDirEdit.setText(Utilities.toNativeSeparators(directory))
+            self.vcsProjectDirEdit.setText(
+                Utilities.toNativeSeparators(directory))
         
     def on_layoutCheckBox_toggled(self, checked):
         """

eric ide

mercurial