diff -r 9986ec0e559a -r 10516539f238 Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListDialog.py --- a/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListDialog.py Tue Oct 15 22:03:54 2013 +0200 +++ b/Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListDialog.py Fri Oct 18 23:00:41 2013 +0200 @@ -16,8 +16,8 @@ import os from PyQt4.QtCore import pyqtSlot, QProcess, Qt, QTimer, QCoreApplication -from PyQt4.QtGui import QDialog, QDialogButtonBox, QHeaderView, QTreeWidgetItem, \ - QLineEdit +from PyQt4.QtGui import QDialog, QDialogButtonBox, QHeaderView, \ + QTreeWidgetItem, QLineEdit from E5Gui import E5MessageBox @@ -28,7 +28,8 @@ class HgQueuesListDialog(QDialog, Ui_HgQueuesListDialog): """ - Class implementing a dialog to show a list of applied and unapplied patches. + Class implementing a dialog to show a list of applied and unapplied + patches. """ def __init__(self, vcs, parent=None): """ @@ -106,11 +107,11 @@ def __getSeries(self, missing=False): """ - Private slot to get the list of applied, unapplied and guarded patches and - patches missing in the series file. + Private slot to get the list of applied, unapplied and guarded patches + and patches missing in the series file. - @param missing flag indicating to get the patches missing in the series file - (boolean) + @param missing flag indicating to get the patches missing in the + series file (boolean) """ if missing: self.__mode = "missing" @@ -205,7 +206,8 @@ def __finish(self): """ - Private slot called when the process finished or the user pressed the button. + Private slot called when the process finished or the user pressed + the button. """ if self.process is not None and \ self.process.state() != QProcess.NotRunning: @@ -219,13 +221,15 @@ self.buttonBox.button(QDialogButtonBox.Close).setEnabled(True) self.buttonBox.button(QDialogButtonBox.Cancel).setEnabled(False) self.buttonBox.button(QDialogButtonBox.Close).setDefault(True) - self.buttonBox.button(QDialogButtonBox.Close).setFocus(Qt.OtherFocusReason) + self.buttonBox.button(QDialogButtonBox.Close).setFocus( + Qt.OtherFocusReason) self.process = None if self.patchesList.topLevelItemCount() == 0: # no patches present - self.__generateItem(0, "", self.trUtf8("no patches found"), "", True) + self.__generateItem( + 0, "", self.trUtf8("no patches found"), "", True) self.__resizeColumns() self.__resort()