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:
256e32e
)
remove hrn for the the encoded format
author
Tony Mack
<tmack@cs.princeton.edu>
Thu, 7 Jan 2010 19:37:06 +0000
(19:37 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Thu, 7 Jan 2010 19:37:06 +0000
(19:37 +0000)
sfa/trust/gid.py
patch
|
blob
|
history
diff --git
a/sfa/trust/gid.py
b/sfa/trust/gid.py
index
fa35f8a
..
2350af1
100644
(file)
--- a/
sfa/trust/gid.py
+++ b/
sfa/trust/gid.py
@@
-98,7
+98,6
@@
class GID(Certificate):
def encode(self):
dict = {"uuid": self.uuid,
- "hrn": self.hrn,
"urn": self.urn}
str = xmlrpclib.dumps((dict,))
self.set_data(str)
@@
-116,8
+115,8
@@
class GID(Certificate):
dict = {}
self.uuid = dict.get("uuid", None)
- self.hrn = dict.get("hrn", None)
self.urn = dict.get("urn", None)
+ self.hrn = urn_to_hrn(self.urn)[0]
##
# Dump the credential to stdout.