X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Ftrust%2Fauth.py;h=39e77e943ace9beb9c8d0b7f18198cbc6e0dd7ee;hb=96a0b3ac2b13383a42fbbe0d6dde554f24a3dbd6;hp=35c76b78bfbcb35709c87ca3abaa0780ccd9970c;hpb=0fe918467c52fd7b06abe8a92082c50ac282f470;p=sfa.git diff --git a/sfa/trust/auth.py b/sfa/trust/auth.py index 35c76b78..39e77e94 100644 --- a/sfa/trust/auth.py +++ b/sfa/trust/auth.py @@ -74,15 +74,15 @@ class Auth: valid.append(cred) except: if speaking_for_hrn: - try: - self.check(cred, operation, speaking_for_hrn) - speaks_for_cred = cred - valid.append(cred) - except: - error = log_invalid_cred(cred) - else: - error = log_invalid_cred(cred) - continue + try: + self.check(cred, operation, speaking_for_hrn) + speaks_for_cred = cred + valid.append(cred) + except: + error = log_invalid_cred(cred) + else: + error = log_invalid_cred(cred) + continue # make sure all sliver xrns are validated against the valid credentials if sliver_xrns: