Plugins/VcsPlugins/vcsPySvn/SvnDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a dialog to show the output of a pysvn action. 7 Module implementing a dialog to show the output of a pysvn action.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 import pysvn 12 import pysvn
11 13
12 from PyQt4.QtGui import QDialog, QApplication, QDialogButtonBox 14 from PyQt4.QtGui import QDialog, QApplication, QDialogButtonBox
13 15
32 (string) 34 (string)
33 @param pysvnClient reference to the pysvn client object (pysvn.Client) 35 @param pysvnClient reference to the pysvn client object (pysvn.Client)
34 @keyparam parent parent widget (QWidget) 36 @keyparam parent parent widget (QWidget)
35 @keyparam log optional log message (string) 37 @keyparam log optional log message (string)
36 """ 38 """
37 super().__init__(parent) 39 super(SvnDialog, self).__init__(parent)
38 self.setupUi(self) 40 self.setupUi(self)
39 SvnDialogMixin.__init__(self, log) 41 SvnDialogMixin.__init__(self, log)
40 42
41 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) 43 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False)
42 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) 44 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True)

eric ide

mercurial