Plugins/VcsPlugins/vcsPySvn/SvnCommitDialog.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 the commit message. 7 Module implementing a dialog to enter the commit message.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 import pysvn 12 import pysvn
11 13
12 from PyQt4.QtCore import pyqtSignal, Qt, pyqtSlot 14 from PyQt4.QtCore import pyqtSignal, Qt, pyqtSlot
13 from PyQt4.QtGui import QWidget, QDialogButtonBox 15 from PyQt4.QtGui import QWidget, QDialogButtonBox
32 Constructor 34 Constructor
33 35
34 @param changelists list of available change lists (list of strings) 36 @param changelists list of available change lists (list of strings)
35 @param parent parent widget (QWidget) 37 @param parent parent widget (QWidget)
36 """ 38 """
37 super().__init__(parent, Qt.WindowFlags(Qt.Window)) 39 super(SvnCommitDialog, self).__init__(parent, Qt.WindowFlags(Qt.Window))
38 self.setupUi(self) 40 self.setupUi(self)
39 41
40 if pysvn.svn_version < (1, 5, 0) or pysvn.version < (1, 6, 0): 42 if pysvn.svn_version < (1, 5, 0) or pysvn.version < (1, 6, 0):
41 self.changeListsGroup.hide() 43 self.changeListsGroup.hide()
42 else: 44 else:

eric ide

mercurial