From 60363e57a33863569500951340064217eaa7e87d Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Thu, 29 Mar 2007 13:17:09 +0000 Subject: [PATCH] - return peer_id, peer_person_id --- PLC/Persons.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/PLC/Persons.py b/PLC/Persons.py index e7057f1..7e7578e 100644 --- a/PLC/Persons.py +++ b/PLC/Persons.py @@ -4,7 +4,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: Persons.py,v 1.33 2007/01/16 17:05:41 mlhuang Exp $ +# $Id: Persons.py,v 1.34 2007/03/28 19:15:34 tmack Exp $ # from types import StringTypes @@ -246,8 +246,7 @@ class Persons(Table): 'slice_ids': ('slice_id', 'slice_person') } foreign_keys = {} - db_fields = Person(api, Person.fields).db_fields().keys() + \ - ['last_updated', 'date_created', 'password', 'verification_key', 'verification_expires'] + db_fields = filter(lambda field: field not in foreign_fields.keys(), Person.fields.keys()) all_fields = db_fields + [value[0] for value in foreign_fields.values()] fields = [] _select = "SELECT " -- 2.43.0