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
(from parent 1:
327d185
)
fix bug
author
Tony Mack
<tmack@cs.princeton.edu>
Thu, 9 Apr 2009 17:47:46 +0000
(17:47 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Thu, 9 Apr 2009 17:47:46 +0000
(17:47 +0000)
geni/methods/get_credential.py
patch
|
blob
|
history
diff --git
a/geni/methods/get_credential.py
b/geni/methods/get_credential.py
index
2ad9f3a
..
44ba5fb
100644
(file)
--- a/
geni/methods/get_credential.py
+++ b/
geni/methods/get_credential.py
@@
-35,7
+35,7
@@
class get_credential(Method):
return self.get_self_credential(type, hrn)
self.api.auth.check(cred, 'getcredential')
- self.api.auth.verify_object_belongs_to_me(
name
)
+ self.api.auth.verify_object_belongs_to_me(
hrn
)
auth_hrn = self.api.auth.get_authority(hrn)
if not auth_hrn:
auth_hrn = hrn