X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FPersons.py;h=1b66b4fc71c6cb7ff59ce58a5bee90b760f24a79;hb=d9107b3b2614414bc66a1c11f9cb0a4383765c1d;hp=8da70ef20d367e26c8e4bb3904e3c35f2dc5a504;hpb=4d5ee5be90e7033c303b0e96e78141463d1ab032;p=plcapi.git diff --git a/PLC/Persons.py b/PLC/Persons.py index 8da70ef..1b66b4f 100644 --- 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)