git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0fe9184
)
fix indentation error in auth.py
author
Mohamed Larabi
<mohamed.larabi@inria.fr>
Tue, 28 Jan 2014 09:11:35 +0000
(10:11 +0100)
committer
Mohamed Larabi
<mohamed.larabi@inria.fr>
Tue, 28 Jan 2014 09:11:35 +0000
(10:11 +0100)
sfa/trust/auth.py
patch
|
blob
|
history
diff --git
a/sfa/trust/auth.py
b/sfa/trust/auth.py
index
35c76b7
..
39e77e9
100644
(file)
--- a/
sfa/trust/auth.py
+++ b/
sfa/trust/auth.py
@@
-74,15
+74,15
@@
class Auth:
valid.append(cred)
except:
if speaking_for_hrn:
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:
# make sure all sliver xrns are validated against the valid credentials
if sliver_xrns: