From: Tony Mack Date: Mon, 9 Aug 2010 19:52:34 +0000 (+0000) Subject: fix attribute error X-Git-Tag: sfa-1.0-0~50 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=54abda54b749fffb7cf5472372460bd9111417c8;hp=9bf6e22dbf53ac1e8e79548aa7341638c98965bd;p=sfa.git fix attribute error --- diff --git a/sfa/trust/credential.py b/sfa/trust/credential.py index 70544ffa..5134743f 100644 --- 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() - 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):