[dataimport] don't commit on flush
authorJulien Cristau <julien.cristau@logilab.fr>
Wed, 09 Jul 2014 16:31:34 +0200
changeset 9910 55d9d483e7c3
parent 9909 e2d42ad10f98
child 9911 ea3dcb43b258
[dataimport] don't commit on flush Changeset 26cdfc6dd6f8 introduced this confusion for no apparent reason, and it doesn't make much sense.
dataimport.py
--- a/dataimport.py	Wed Jul 09 15:35:28 2014 +0200
+++ b/dataimport.py	Wed Jul 09 16:31:34 2014 +0200
@@ -575,12 +575,8 @@
         return
 
     def flush(self):
-        """The method is provided so that all stores share a common API.
-        It just tries to call the commit method.
-        """
-        print 'starting flush'
-        self.commit()
-        print 'flush done'
+        """The method is provided so that all stores share a common API"""
+        pass
 
     @property
     def nb_inserted_entities(self):