fix attribute error
authorTony Mack <tmack@cs.princeton.edu>
Mon, 9 Aug 2010 19:52:34 +0000 (19:52 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Mon, 9 Aug 2010 19:52:34 +0000 (19:52 +0000)
sfa/trust/credential.py

index 70544ff..5134743 100644 (file)
@@ -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):