From 5ef42726171500af758af75b6063febb323c68bf Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Wed, 12 Aug 2009 19:25:25 +0000 Subject: [PATCH] fix name error, 'record_list' should be 'records' --- sfa/methods/resolve.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sfa/methods/resolve.py b/sfa/methods/resolve.py index 0953f1c4..1d3c3b33 100644 --- a/sfa/methods/resolve.py +++ b/sfa/methods/resolve.py @@ -1,6 +1,6 @@ ### $Id$ ### $URL$ - +import traceback from sfa.util.faults import * from sfa.util.method import Method from sfa.util.parameter import Parameter, Mixed @@ -51,11 +51,11 @@ class resolve(Method): credential = self.api.getCredential() try: records = registries[registry_hrn].resolve(credential, hrn) - good_records = [record.as_dict() for record in record_list] + good_records = [record.as_dict() for record in records] if good_records: return good_records except: - pass + traceback.print_exc() # if we still havnt found the record yet, try the local registry auth_hrn = self.api.auth.get_authority(hrn) -- 2.43.0