Rev 826: Fix authentication prompts. in file:///data/jelmer/bzr-svn/0.4/

Jelmer Vernooij jelmer at samba.org
Fri Jan 18 04:05:52 GMT 2008


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

------------------------------------------------------------
revno: 826
revision-id:jelmer at samba.org-20071223033523-mrt0eeavzk53wku3
parent: jelmer at samba.org-20071223032557-1ohar9wjluds6wql
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Sun 2007-12-23 04:35:23 +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:35:23 +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