X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=sfa%2Ftrust%2Fauth.py;h=31853edab1756269aa022dc1228136fc141cd607;hb=eebbddb9a2fc13a20387a4e185cd999defeffbfd;hp=b88a472e62f3cbb3180eda9f694fcb987679f97d;hpb=71663329b9d58d290dfaef5635288913b0995347;p=sfa.git diff --git a/sfa/trust/auth.py b/sfa/trust/auth.py index b88a472e..31853eda 100644 --- a/sfa/trust/auth.py +++ b/sfa/trust/auth.py @@ -44,6 +44,7 @@ class Auth: if not isinstance(creds, list): creds = [creds] logger.debug("Auth.checkCredentials with %d creds"%len(creds)) + error=[ "no credential","was given"] for cred in creds: for hrn in hrns: try: