Plugins/VcsPlugins/vcsMercurial/PurgeExtension/purge.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2405
d4b5f3bd4720
child 2791
a9577f248f04
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing the purge extension interface. 7 Module implementing the purge extension interface.
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 18 from PyQt4.QtCore import QProcess
13 from PyQt4.QtGui import QDialog 19 from PyQt4.QtGui import QDialog
26 """ 32 """
27 Constructor 33 Constructor
28 34
29 @param vcs reference to the Mercurial vcs object 35 @param vcs reference to the Mercurial vcs object
30 """ 36 """
31 super().__init__(vcs) 37 super(Purge, self).__init__(vcs)
32 38
33 self.purgeListDialog = None 39 self.purgeListDialog = None
34 40
35 def shutdown(self): 41 def shutdown(self):
36 """ 42 """

eric ide

mercurial