Helpviewer/Network/NetworkAccessManager.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3190
a9a94491c4fd
child 3591
2f2a4a76dd22
equal deleted inserted replaced
3456:96232974dcdb 3484:645c12de6b0c
208 .format(reply.url().scheme(), reply.url().authority()) 208 .format(reply.url().scheme(), reply.url().authority())
209 realm = auth.realm() 209 realm = auth.realm()
210 if not realm and 'realm' in auth.options(): 210 if not realm and 'realm' in auth.options():
211 realm = auth.option("realm") 211 realm = auth.option("realm")
212 if realm: 212 if realm:
213 info = self.trUtf8("<b>Enter username and password for '{0}', " 213 info = self.tr("<b>Enter username and password for '{0}', "
214 "realm '{1}'</b>").format(urlRoot, realm) 214 "realm '{1}'</b>").format(urlRoot, realm)
215 else: 215 else:
216 info = self.trUtf8("<b>Enter username and password for '{0}'</b>")\ 216 info = self.tr("<b>Enter username and password for '{0}'</b>")\
217 .format(urlRoot) 217 .format(urlRoot)
218 218
219 from UI.AuthenticationDialog import AuthenticationDialog 219 from UI.AuthenticationDialog import AuthenticationDialog
220 import Helpviewer.HelpWindow 220 import Helpviewer.HelpWindow
221 221

eric ide

mercurial