From a5a52b745b71f227bfbf720fb941fbfc6653a3a4 Mon Sep 17 00:00:00 2001 From: Anil-Kumar Vengalil Date: Sat, 5 Sep 2009 16:32:47 +0000 Subject: [PATCH] getting record objects --- sfa/methods/get_credential.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/methods/get_credential.py b/sfa/methods/get_credential.py index 3e11f88e..f6f34d65 100644 --- a/sfa/methods/get_credential.py +++ b/sfa/methods/get_credential.py @@ -108,7 +108,7 @@ class get_credential(Method): # find a record that matches record = None table = GeniTable() - records = table.find({'type': type, 'hrn': hrn}) + records = table.findObjects({'type': type, 'hrn': hrn}) if not records: raise RecordNotFound(hrn) record = records[0] -- 2.45.2