2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing the base class for Mercurial extension interfaces. | 7 Module implementing the base class for Mercurial extension interfaces. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 from PyQt4.QtCore import QObject | 12 from PyQt4.QtCore import QObject |
11 | 13 |
12 | 14 |
13 class HgExtension(QObject): | 15 class HgExtension(QObject): |
18 """ | 20 """ |
19 Constructor | 21 Constructor |
20 | 22 |
21 @param vcs reference to the Mercurial vcs object | 23 @param vcs reference to the Mercurial vcs object |
22 """ | 24 """ |
23 super().__init__(vcs) | 25 super(HgExtension, self).__init__(vcs) |
24 | 26 |
25 self.vcs = vcs | 27 self.vcs = vcs |
26 | 28 |
27 def shutdown(self): | 29 def shutdown(self): |
28 """ | 30 """ |