From aef8a5c9afe28996c46cfe4a94dbde46881cd3dd Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Tue, 4 Aug 2009 22:04:24 +0000 Subject: [PATCH] fix bug, 'node_filter' should be 'person_filter' --- PLC/Persons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PLC/Persons.py b/PLC/Persons.py index 6feb270..862d6ba 100644 --- a/PLC/Persons.py +++ b/PLC/Persons.py @@ -388,7 +388,7 @@ class Persons(Table): # Separate the list into integers and strings ints = filter(lambda x: isinstance(x, (int, long)), person_filter) strs = filter(lambda x: isinstance(x, StringTypes), person_filter) - node_filter = Filter(Person.fields, {'person_id': ints, 'email': strs}) + person_filter = Filter(Person.fields, {'person_id': ints, 'email': strs}) sql += " AND (%s) %s" % person_filter.sql(api, "OR") elif isinstance(person_filter, dict): person_filter = Filter(Person.fields, person_filter) -- 2.43.0