From: Anil-Kumar Vengalil Date: Sat, 5 Sep 2009 16:40:34 +0000 (+0000) Subject: bug fix: record is the slice record, and it is used later X-Git-Tag: sfa-0.9-1~17 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=357a9bfcce9d8d6edd4c4e33354c8eb2e0522072;p=sfa.git bug fix: record is the slice record, and it is used later --- 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: