Rev 1106: Remove use of pools. in http://people.samba.org/bzr/jelmer/bzr-svn/cext

Jelmer Vernooij jelmer at samba.org
Wed Jun 18 12:59:20 BST 2008


At http://people.samba.org/bzr/jelmer/bzr-svn/cext

------------------------------------------------------------
revno: 1106
revision-id: jelmer at samba.org-20080618115918-bc24d35jr60f6b9z
parent: jelmer at samba.org-20080617225434-4421o96ffosyuz9y
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: cext
timestamp: Wed 2008-06-18 13:59:18 +0200
message:
  Remove use of pools.
modified:
  auth.py                        auth.py-20071209174622-w8d42k6nm5yhxvi8-1
=== modified file 'auth.py'
--- a/auth.py	2008-06-15 02:54:00 +0000
+++ b/auth.py	2008-06-18 11:59:18 +0000
@@ -61,14 +61,13 @@
         username = self.get_user(self.scheme, host=self.host, path=self.path, realm=realm)
         return (username, False)
 
-    def get_svn_simple(self, realm, username, may_save, pool):
+    def get_svn_simple(self, realm, username, may_save):
         """Look up a Subversion user name+password combination in the Bazaar 
         authentication cache.
 
         :param realm: Authentication realm (optional)
         :param username: Username, if it is already known, or None.
         :param may_save: Whether or not the username should be saved.
-        :param pool: Allocation pool, is ignored.
         """
         username = self.get_user(self.scheme, 
                 host=self.host, path=self.path, realm=realm) or username
@@ -77,8 +76,7 @@
             realm=realm, prompt="%s %s password" % (realm, simple_cred.username))
         return (username, password, False)
 
-    def get_svn_ssl_server_trust(self, realm, failures, cert_info, may_save, 
-                                     pool):
+    def get_svn_ssl_server_trust(self, realm, failures, cert_info, may_save):
         """Return a Subversion auth provider that verifies SSL server trust.
 
         :param realm: Realm name (optional)
@@ -130,7 +128,7 @@
                 self.get_svn_simple_prompt_provider(1),
                 self.get_svn_ssl_server_trust_prompt_provider()]
 
-def get_ssl_client_cert_pw(realm, may_save, pool):
+def get_ssl_client_cert_pw(realm, may_save):
     """Simple SSL client certificate password prompter.
 
     :param realm: Realm, optional.




More information about the bazaar-commits mailing list