]> git.decadent.org.uk Git - dak.git/commitdiff
validate is somehow causing a double flush; comment for now
authorMark Hymers <mhy@debian.org>
Wed, 23 Mar 2011 21:19:13 +0000 (21:19 +0000)
committerMark Hymers <mhy@debian.org>
Wed, 23 Mar 2011 21:19:13 +0000 (21:19 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
daklib/dbconn.py

index 98b6c7d50eb6a23affaa1f3453e485055ccb7e53..2f18343e974bd459fce862cddf9c89acdd0b2ea2 100755 (executable)
@@ -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()