From 16b8364d02185d9ae5ac8a85a245ab7274d44c89 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Wed, 23 Mar 2011 21:19:13 +0000 Subject: [PATCH] validate is somehow causing a double flush; comment for now Signed-off-by: Mark Hymers --- daklib/dbconn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.39.5