Plugins/VcsPlugins/vcsMercurial/HgNewProjectOptionsDialog.py

changeset 3008
7848489bcb92
parent 2453
e0b775cb733b
child 3034
7ce719013078
child 3057
10516539f238
diff -r bad2e89047e7 -r 7848489bcb92 Plugins/VcsPlugins/vcsMercurial/HgNewProjectOptionsDialog.py
--- a/Plugins/VcsPlugins/vcsMercurial/HgNewProjectOptionsDialog.py	Fri Oct 11 19:51:20 2013 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/HgNewProjectOptionsDialog.py	Sat Oct 12 15:01:28 2013 +0200
@@ -4,7 +4,8 @@
 #
 
 """
-Module implementing the Mercurial Options Dialog for a new project from the repository.
+Module implementing the Mercurial Options Dialog for a new project from the
+repository.
 """
 
 import os
@@ -24,7 +25,8 @@
 
 class HgNewProjectOptionsDialog(QDialog, Ui_HgNewProjectOptionsDialog):
     """
-    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,7 +70,8 @@
                 E5FileDialog.Options(E5FileDialog.ShowDirsOnly))
             
             if directory:
-                self.vcsUrlEdit.setText(Utilities.toNativeSeparators(directory))
+                self.vcsUrlEdit.setText(
+                    Utilities.toNativeSeparators(directory))
     
     @pyqtSlot()
     def on_projectDirButton_clicked(self):
@@ -81,7 +85,8 @@
             E5FileDialog.Options(E5FileDialog.ShowDirsOnly))
         
         if directory:
-            self.vcsProjectDirEdit.setText(Utilities.toNativeSeparators(directory))
+            self.vcsProjectDirEdit.setText(
+                Utilities.toNativeSeparators(directory))
     
     @pyqtSlot(str)
     def on_protocolCombo_activated(self, protocol):

eric ide

mercurial