Plugins/VcsPlugins/vcsPySvn/SvnNewProjectOptionsDialog.py

changeset 3009
bf5ae5d7477d
parent 2452
fd1cd8a279db
child 3034
7ce719013078
child 3057
10516539f238
diff -r 7848489bcb92 -r bf5ae5d7477d Plugins/VcsPlugins/vcsPySvn/SvnNewProjectOptionsDialog.py
--- a/Plugins/VcsPlugins/vcsPySvn/SvnNewProjectOptionsDialog.py	Sat Oct 12 15:01:28 2013 +0200
+++ b/Plugins/VcsPlugins/vcsPySvn/SvnNewProjectOptionsDialog.py	Sat Oct 12 17:31:40 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.
 """
 
 import os
@@ -24,7 +25,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):
         """
@@ -52,7 +54,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):
@@ -67,11 +70,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:
@@ -93,7 +98,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