From 836d30eb021b1170cb0ed4c6722999e2562aec4f Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Thu, 31 Dec 2009 21:02:59 +0000 Subject: [PATCH] dont forget to define user_cred --- sfa/methods/list.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sfa/methods/list.py b/sfa/methods/list.py index df139651..727e5449 100644 --- a/sfa/methods/list.py +++ b/sfa/methods/list.py @@ -31,6 +31,7 @@ class list(Method): returns = [GeniRecord] def call(self, cred, hrn, origin_hrn=None): + user_cred = Credential(string=cred) #log the call if not origin_hrn: origin_hrn = user_cred.get_gid_caller().get_hrn() -- 2.47.0