Plugins/VcsPlugins/vcsMercurial/HgExportDialog.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2962
d6c9d1ca2da4
child 3145
a9de05d4a22f
diff -r 9986ec0e559a -r 10516539f238 Plugins/VcsPlugins/vcsMercurial/HgExportDialog.py
--- a/Plugins/VcsPlugins/vcsMercurial/HgExportDialog.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/HgExportDialog.py	Fri Oct 18 23:00:41 2013 +0200
@@ -59,7 +59,7 @@
         self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(enabled)
     
     @pyqtSlot(str)
-    def on_directoryEdit_textChanged(self, p0):
+    def on_directoryEdit_textChanged(self, txt):
         """
         Private slot to react on changes of the export directory edit.
         
@@ -82,7 +82,7 @@
             self.directoryEdit.setText(Utilities.toNativeSeparators(dn))
     
     @pyqtSlot(str)
-    def on_patternEdit_textChanged(self, p0):
+    def on_patternEdit_textChanged(self, txt):
         """
         Private slot to react on changes of the export file name pattern edit.
         
@@ -94,8 +94,6 @@
     def on_changesetsEdit_textChanged(self):
         """
         Private slot to react on changes of the changesets edit.
-        
-        @param txt contents of the line edit (string)
         """
         self.__updateOK()
     
@@ -103,14 +101,16 @@
         """
         Public method to retrieve the export data.
         
-        @return tuple naming the output file name, the list of revisions to export,
-            and flags indicating to compare against the second parent, to treat all
-            files as text, to omit dates in the diff headers and to use the git extended
-            diff format (string, list of strings, boolean, boolean, boolean, boolean)
+        @return tuple naming the output file name, the list of revisions to
+            export, and flags indicating to compare against the second parent,
+            to treat all files as text, to omit dates in the diff headers and
+            to use the git extended diff format (string, list of strings,
+            boolean, boolean, boolean, boolean)
         """
         return (
-            os.path.join(Utilities.toNativeSeparators(self.directoryEdit.text()),
-                         self.patternEdit.text()),
+            os.path.join(
+                Utilities.toNativeSeparators(self.directoryEdit.text()),
+                self.patternEdit.text()),
             self.changesetsEdit.toPlainText().splitlines(),
             self.switchParentCheckBox.isChecked(),
             self.textCheckBox.isChecked(),

eric ide

mercurial