Plugins/VcsPlugins/vcsMercurial/FetchExtension/HgFetchDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3058
0a02c433f52d
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a dialog to enter data to be used for a fetch operation. 7 Module implementing a dialog to enter data to be used for a fetch operation.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.QtCore import pyqtSlot 12 from PyQt4.QtCore import pyqtSlot
11 from PyQt4.QtGui import QDialog 13 from PyQt4.QtGui import QDialog
12 14
13 from .Ui_HgFetchDialog import Ui_HgFetchDialog 15 from .Ui_HgFetchDialog import Ui_HgFetchDialog
23 """ 25 """
24 Constructor 26 Constructor
25 27
26 @param parent reference to the parent widget (QWidget) 28 @param parent reference to the parent widget (QWidget)
27 """ 29 """
28 super().__init__(parent) 30 super(HgFetchDialog, self).__init__(parent)
29 self.setupUi(self) 31 self.setupUi(self)
30 32
31 self.recentCommitMessages = Preferences.toList( 33 self.recentCommitMessages = Preferences.toList(
32 Preferences.Prefs.settings.value('Mercurial/Commits')) 34 Preferences.Prefs.settings.value('Mercurial/Commits'))
33 self.recentComboBox.clear() 35 self.recentComboBox.clear()

eric ide

mercurial