Fixed account names in password prompts
s._msg("%s: %s" % (accountname, errmsg))
s.outputlock.acquire()
try:
- return getpass("%s: Enter password for %s on %s: " %
- (accountname, config.get(accountname, "remoteuser"),
- config.get(accountname, "remotehost")))
+ return getpass("%s: Enter password: " % accountname)
finally:
s.outputlock.release()
text = ''
if errmsg:
text = '%s: %s\n' % (accountname, errmsg)
- text += "%s: Enter password for %s on %s: " % \
- (accountname, config.get(accountname, "remoteuser"),
- config.get(accountname, "remotehost"))
+ text += "%s: Enter password: " % accountname
self.label = Label(self.top, text = text)
self.label.pack()