fix order of parameters in call to callfunc_every stable
authorAlexandre Fayolle <alexandre.fayolle@logilab.fr>
Thu, 26 Aug 2010 14:38:49 +0200
branchstable
changeset 6169 55378e1bab1b
parent 6152 6824f8b61098
child 6170 394eebfeea8a
fix order of parameters in call to callfunc_every
dataimport.py
--- a/dataimport.py	Thu Aug 26 10:13:48 2010 +0200
+++ b/dataimport.py	Thu Aug 26 14:38:49 2010 +0200
@@ -575,7 +575,9 @@
         if self.commitevery is None:
             return self.get_data(datakey)
         else:
-            return callfunc_every(self.commitevery, self.store.commit, self.get_data(datakey))
+            return callfunc_every(self.store.commit,
+                                  self.commitevery,
+                                  self.get_data(datakey))