Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesListAllGuardsDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 2791
a9577f248f04
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a dialog to show all guards for all patches. 7 Module implementing a dialog to show all guards for all patches.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
11 try:
12 str = unicode
13 except (NameError):
14 pass
9 15
10 import os 16 import os
11 17
12 from PyQt4.QtCore import QProcess, QCoreApplication 18 from PyQt4.QtCore import QProcess, QCoreApplication
13 from PyQt4.QtGui import QDialog, QTreeWidgetItem 19 from PyQt4.QtGui import QDialog, QTreeWidgetItem
26 """ 32 """
27 Constructor 33 Constructor
28 34
29 @param parent reference to the parent widget (QWidget) 35 @param parent reference to the parent widget (QWidget)
30 """ 36 """
31 super().__init__(parent) 37 super(HgQueuesListAllGuardsDialog, self).__init__(parent)
32 self.setupUi(self) 38 self.setupUi(self)
33 39
34 self.vcs = vcs 40 self.vcs = vcs
35 self.__hgClient = vcs.getClient() 41 self.__hgClient = vcs.getClient()
36 42

eric ide

mercurial