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:
39c21a8
)
edit error message
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Thu, 17 Jan 2013 19:12:45 +0000
(14:12 -0500)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Thu, 17 Jan 2013 19:12:45 +0000
(14:12 -0500)
sfa/trust/auth.py
patch
|
blob
|
history
diff --git
a/sfa/trust/auth.py
b/sfa/trust/auth.py
index
d72c3f8
..
fcd4f75
100644
(file)
--- a/
sfa/trust/auth.py
+++ b/
sfa/trust/auth.py
@@
-71,10
+71,7
@@
class Auth:
check_sliver_callback(valid, sliver_xrns)
if not len(valid):
- msg = "Valid credential not found for method: %s" % operation
- if xrns:
- msg += " target: %s" % xrns
- raise Forbidden(msg)
+ raise Forbidden("Invalid credential")
return valid