From: Mark Hymers Date: Wed, 23 Mar 2011 21:19:13 +0000 (+0000) Subject: validate is somehow causing a double flush; comment for now X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=16b8364d02185d9ae5ac8a85a245ab7274d44c89;p=dak.git validate is somehow causing a double flush; comment for now Signed-off-by: Mark Hymers --- diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 98b6c7d5..2f18343e 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -346,11 +346,11 @@ class Validator(MapperExtension): ''' def before_update(self, mapper, connection, instance): - instance.validate() + #instance.validate() return EXT_CONTINUE def before_insert(self, mapper, connection, instance): - instance.validate() + #instance.validate() return EXT_CONTINUE validator = Validator()