dataimport.py
changeset 4913 083b4d454192
parent 4912 9767cc516b4f
child 5054 cb066d29166a
--- a/dataimport.py	Wed Mar 10 16:07:24 2010 +0100
+++ b/dataimport.py	Mon Mar 01 11:26:14 2010 +0100
@@ -559,6 +559,8 @@
         self._nb_inserted_types = 0
         self._nb_inserted_relations = 0
         self.rql = session.unsafe_execute
+        # disable undoing
+        session.undo_actions = frozenset()
 
     def create_entity(self, etype, **kwargs):
         for k, v in kwargs.iteritems():