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:
4d5ee5b
)
remove verification_expires from person before deleting
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Tue, 2 Aug 2011 12:20:54 +0000
(08:20 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Tue, 2 Aug 2011 12:20:54 +0000
(08:20 -0400)
PLC/Persons.py
patch
|
blob
|
history
diff --git
a/PLC/Persons.py
b/PLC/Persons.py
index
8da70ef
..
1b66b4f
100644
(file)
--- a/
PLC/Persons.py
+++ b/
PLC/Persons.py
@@
-362,8
+362,9
@@
class Person(Row):
# delete will fail if verification_expires exists and isn't validated
if 'verification_expires' in self:
- self['verification_expires'] = \
- self.validate_verification_expires(self['verification_expires'])
+ #self['verification_expires'] = \
+ #self.validate_verification_expires(self['verification_expires'])
+ self.pop('verification_expires')
# don't validate, so duplicates can be consistently removed
self.sync(commit, validate=False)