Rev 824: Fix authentication prompts. in file:///data/jelmer/bzr-svn/authprompt/

Jelmer Vernooij jelmer at samba.org
Sun Dec 23 03:11:24 GMT 2007


At file:///data/jelmer/bzr-svn/authprompt/

------------------------------------------------------------
revno: 824
revision-id:jelmer at samba.org-20071223031124-vicrb7ee2lr7l07r
parent: jelmer at samba.org-20071222212752-yu06lwc69u4jke0d
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: authprompt
timestamp: Sun 2007-12-23 04:11:24 +0100
message:
  Fix authentication prompts.
modified:
  auth.py                        auth.py-20071209174622-w8d42k6nm5yhxvi8-1
=== modified file 'auth.py'
--- a/auth.py	2007-12-15 02:03:38 +0000
+++ b/auth.py	2007-12-23 03:11:24 +0000
@@ -56,9 +56,10 @@
         :param pool: Allocation pool, is ignored.
         """
         simple_cred = svn_auth_cred_simple_t()
-        simple_cred.username = username or self.get_username(realm, may_save, pool)
+        simple_cred.username = username or self.get_username(realm, may_save, pool, prompt="%s password" % realm)
         simple_cred.password = self.get_password(self.scheme, host=self.host, 
-                                    user=simple_cred.username, realm=realm)
+                                    user=simple_cred.username, realm=realm,
+                                    prompt="%s password" % realm)
         simple_cred.may_save = False
         return simple_cred
 




More information about the bazaar-commits mailing list