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:
9bf6e22
)
fix attribute error
author
Tony Mack
<tmack@cs.princeton.edu>
Mon, 9 Aug 2010 19:52:34 +0000
(19:52 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Mon, 9 Aug 2010 19:52:34 +0000
(19:52 +0000)
sfa/trust/credential.py
patch
|
blob
|
history
diff --git
a/sfa/trust/credential.py
b/sfa/trust/credential.py
index
70544ff
..
5134743
100644
(file)
--- a/
sfa/trust/credential.py
+++ b/
sfa/trust/credential.py
@@
-787,7
+787,7
@@
class Credential(object):
"""
# get the gid of the object we are delegating
object_gid = self.get_gid_object()
"""
# get the gid of the object we are delegating
object_gid = self.get_gid_object()
- object_hrn =
self
.get_hrn()
+ object_hrn =
object_gid
.get_hrn()
# the hrn of the user who will be delegated to
if isinstance(delegee_gid, str):
# the hrn of the user who will be delegated to
if isinstance(delegee_gid, str):