Plugins/VcsPlugins/vcsPySvn/SvnLoginDialog.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 the login dialog for pysvn. 7 Module implementing the login dialog for pysvn.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.QtGui import QDialog 12 from PyQt4.QtGui import QDialog
11 13
12 from .Ui_SvnLoginDialog import Ui_SvnLoginDialog 14 from .Ui_SvnLoginDialog import Ui_SvnLoginDialog
13 15
23 @param realm name of the realm of the requested credentials (string) 25 @param realm name of the realm of the requested credentials (string)
24 @param username username as supplied by subversion (string) 26 @param username username as supplied by subversion (string)
25 @param may_save flag indicating, that subversion is willing to save 27 @param may_save flag indicating, that subversion is willing to save
26 the answers returned (boolean) 28 the answers returned (boolean)
27 """ 29 """
28 super().__init__(parent) 30 super(SvnLoginDialog, self).__init__(parent)
29 self.setupUi(self) 31 self.setupUi(self)
30 32
31 self.realmLabel.setText(self.trUtf8("<b>Enter login data for realm {0}.</b>")\ 33 self.realmLabel.setText(self.trUtf8("<b>Enter login data for realm {0}.</b>")\
32 .format(realm)) 34 .format(realm))
33 self.usernameEdit.setText(username) 35 self.usernameEdit.setText(username)

eric ide

mercurial