git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
avoid running validate on DeletePerson
[plcapi.git]
/
PLC
/
Persons.py
diff --git
a/PLC/Persons.py
b/PLC/Persons.py
index
f4346ce
..
7917306
100644
(file)
--- a/
PLC/Persons.py
+++ b/
PLC/Persons.py
@@
-362,7
+362,8
@@
class Person(Row):
# Mark as deleted
self['deleted'] = True
- self.sync(commit)
+ # don't validate, so duplicates can be consistently removed
+ self.sync(commit, validate=False)
class Persons(Table):
"""