From 357a9bfcce9d8d6edd4c4e33354c8eb2e0522072 Mon Sep 17 00:00:00 2001 From: Anil-Kumar Vengalil Date: Sat, 5 Sep 2009 16:40:34 +0000 Subject: [PATCH] bug fix: record is the slice record, and it is used later --- sfa/plc/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sfa/plc/api.py b/sfa/plc/api.py index cc6430b7..9ca932bb 100644 --- a/sfa/plc/api.py +++ b/sfa/plc/api.py @@ -426,8 +426,8 @@ class GeniAPI: newIdList = [] table = GeniTable() records = table.find({'type': 'user', 'hrn': newList}) - for record in records: - newIdList.append(record['pointer']) + for rec in records: + newIdList.append(rec['pointer']) # build a list of the old person ids from the person_ids field if oldRecord: -- 2.47.0