Plugins/VcsPlugins/vcsPySvn/SvnBlameDialog.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 the svn blame command. 7 Module implementing a dialog to show the output of the svn blame command.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 import os 12 import os
11 13
12 import pysvn 14 import pysvn
13 15
29 Constructor 31 Constructor
30 32
31 @param vcs reference to the vcs object 33 @param vcs reference to the vcs object
32 @param parent parent widget (QWidget) 34 @param parent parent widget (QWidget)
33 """ 35 """
34 super().__init__(parent) 36 super(SvnBlameDialog, self).__init__(parent)
35 self.setupUi(self) 37 self.setupUi(self)
36 SvnDialogMixin.__init__(self) 38 SvnDialogMixin.__init__(self)
37 39
38 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) 40 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False)
39 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) 41 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True)

eric ide

mercurial