]> code.delx.au - offlineimap/commitdiff
/offlineimap/head: changeset 443
authorjgoerzen <jgoerzen>
Fri, 18 Apr 2003 02:43:54 +0000 (03:43 +0100)
committerjgoerzen <jgoerzen>
Fri, 18 Apr 2003 02:43:54 +0000 (03:43 +0100)
Fixed account names in password prompts

offlineimap/head/offlineimap/ui/TTY.py
offlineimap/head/offlineimap/ui/Tk.py

index a64e388a312e8499d98db539228a2bdc1b0506a7..0590caf5cce416b189ff06170967e5c046fe7a72 100644 (file)
@@ -46,9 +46,7 @@ class TTYUI(UIBase):
             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()
 
index 3e8201a8fc018c522cd69fa64b29c185eebbb20e..2343529cb211d134e73a404e15b7de303f8e6d59 100644 (file)
@@ -38,9 +38,7 @@ class PasswordDialog:
         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()