2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing the bookmarks extension interface. | 7 Module implementing the bookmarks 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, QInputDialog | 19 from PyQt4.QtGui import QDialog, QInputDialog |
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(Bookmarks, self).__init__(vcs) |
32 | 38 |
33 self.bookmarksListDlg = None | 39 self.bookmarksListDlg = None |
34 self.bookmarksInOutDlg = None | 40 self.bookmarksInOutDlg = None |
35 self.bookmarksList = [] | 41 self.bookmarksList = [] |
36 | 42 |