Plugins/VcsPlugins/vcsPySvn/SvnChangeListsDialog.py

changeset 3009
bf5ae5d7477d
parent 2302
f29e9405c851
child 3057
10516539f238
child 3160
209a07d7e401
diff -r 7848489bcb92 -r bf5ae5d7477d Plugins/VcsPlugins/vcsPySvn/SvnChangeListsDialog.py
--- a/Plugins/VcsPlugins/vcsPySvn/SvnChangeListsDialog.py	Sat Oct 12 15:01:28 2013 +0200
+++ b/Plugins/VcsPlugins/vcsPySvn/SvnChangeListsDialog.py	Sat Oct 12 17:31:40 2013 +0200
@@ -12,8 +12,8 @@
 import pysvn
 
 from PyQt4.QtCore import pyqtSlot, Qt, QMutexLocker
-from PyQt4.QtGui import QDialog, QDialogButtonBox, QListWidgetItem, QApplication, \
-    QCursor
+from PyQt4.QtGui import QDialog, QDialogButtonBox, QListWidgetItem, \
+    QApplication, QCursor
 
 from .SvnDialogMixin import SvnDialogMixin
 
@@ -60,7 +60,8 @@
         if current is not None:
             changelist = current.text()
             if changelist in self.changeListsDict:
-                self.filesList.addItems(sorted(self.changeListsDict[changelist]))
+                self.filesList.addItems(
+                    sorted(self.changeListsDict[changelist]))
     
     def start(self, path):
         """
@@ -71,14 +72,16 @@
         self.changeListsDict = {}
         self.cancelled = False
         
-        self.filesLabel.setText(self.trUtf8("Files (relative to {0}):").format(path))
+        self.filesLabel.setText(
+            self.trUtf8("Files (relative to {0}):").format(path))
         
         QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
         QApplication.processEvents()
         
         locker = QMutexLocker(self.vcs.vcsExecutionMutex)
         try:
-            entries = self.client.get_changelist(path, depth=pysvn.depth.infinity)
+            entries = self.client.get_changelist(
+                path, depth=pysvn.depth.infinity)
             for entry in entries:
                 file = entry[0]
                 changelist = entry[1]
@@ -105,7 +108,8 @@
         
         if len(self.changeListsDict) == 0:
             self.changeLists.addItem(self.trUtf8("No changelists found"))
-            self.buttonBox.button(QDialogButtonBox.Close).setFocus(Qt.OtherFocusReason)
+            self.buttonBox.button(QDialogButtonBox.Close).setFocus(
+                Qt.OtherFocusReason)
         else:
             self.changeLists.setCurrentRow(0)
             self.changeLists.setFocus(Qt.OtherFocusReason)

eric ide

mercurial