[dataimport] stop ignoring errors on flush
authorJulien Cristau <julien.cristau@logilab.fr>
Wed, 09 Jul 2014 16:35:02 +0200
changeset 9911 ea3dcb43b258
parent 9910 55d9d483e7c3
child 9948 798ab1216523
[dataimport] stop ignoring errors on flush That can only result in database corruption.
dataimport.py
--- a/dataimport.py	Wed Jul 09 16:31:34 2014 +0200
+++ b/dataimport.py	Wed Jul 09 16:35:02 2014 +0200
@@ -1053,10 +1053,6 @@
                                nb_threads=self.nb_threads_statement,
                                support_copy_from=self.support_copy_from,
                                encoding=self.dbencoding)
-        except:
-            print 'failed to flush'
-        else:
-            print 'flush done'
         finally:
             _entities_sql.clear()
             _relations_sql.clear()