From 98805656ecd237362ffae06b83624f6d7b7d1327 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Thu, 7 Jan 2010 19:37:06 +0000 Subject: [PATCH] remove hrn for the the encoded format --- sfa/trust/gid.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sfa/trust/gid.py b/sfa/trust/gid.py index fa35f8aa..2350af19 100644 --- 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. -- 2.43.0