server/sources/datafeed.py
changeset 9990 c84ad981fc4a
parent 9897 fa44db7da2dc
parent 9975 98b4f7fa2e3a
child 10089 6346f53c85f1
--- a/server/sources/datafeed.py	Tue Sep 23 17:34:36 2014 +0200
+++ b/server/sources/datafeed.py	Thu Sep 25 15:49:13 2014 +0200
@@ -421,7 +421,7 @@
                 self.warning('delete %s %s entities', len(eids), etype)
                 cnx.execute('DELETE %s X WHERE X eid IN (%s)'
                             % (etype, ','.join(eids)))
-                cnx.commit()
+            cnx.commit()
 
     def update_if_necessary(self, entity, attrs):
         entity.complete(tuple(attrs))