git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
60363e5
)
- make sure 'verification_expires' is converted to an int in postgres before being...
author
Tony Mack
<tmack@cs.princeton.edu>
Thu, 29 Mar 2007 20:14:46 +0000
(20:14 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Thu, 29 Mar 2007 20:14:46 +0000
(20:14 +0000)
PLC/Persons.py
patch
|
blob
|
history
diff --git
a/PLC/Persons.py
b/PLC/Persons.py
index
7e7578e
..
6da08ec
100644
(file)
--- a/
PLC/Persons.py
+++ b/
PLC/Persons.py
@@
-4,7
+4,7
@@
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
-# $Id: Persons.py,v 1.3
4 2007/03/28 19:15:34
tmack Exp $
+# $Id: Persons.py,v 1.3
5 2007/03/29 13:17:09
tmack Exp $
#
from types import StringTypes
#
from types import StringTypes
@@
-287,7
+287,7
@@
class Persons(Table):
# postgres will return timestamps as datetime objects.
# XMLPRC cannot marshal datetime so convert to int
# postgres will return timestamps as datetime objects.
# XMLPRC cannot marshal datetime so convert to int
- timestamps = ['date_created', 'last_updated']
+ timestamps = ['date_created', 'last_updated'
, 'verification_expires'
]
for field in fields:
if field in timestamps:
fields[fields.index(field)] = \
for field in fields:
if field in timestamps:
fields[fields.index(field)] = \