another attempts at working arouns the options issue
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 26 May 2014 11:05:31 +0000 (13:05 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 26 May 2014 11:05:31 +0000 (13:05 +0200)
sfa/trust/auth.py

index 2e9ada0..747b536 100644 (file)
@@ -39,7 +39,7 @@ class Auth:
     # do not use mutable as default argument 
     # http://docs.python-guide.org/en/latest/writing/gotchas/#mutable-default-arguments
     def checkCredentials(self, creds, operation, xrns=None, 
-                         check_sliver_callback=None, speaking_for_hrn=None):
+                         check_sliver_callback=None, speaking_for_hrn=None, options=None):
         if xrns is None: xrns=[]
         def log_invalid_cred(cred):
             cred_obj=Credential(string=cred)