Skip to content

Commit

Permalink
removed _prep_objects call from activity import
Browse files Browse the repository at this point in the history
_prep_objects is not doing anything there, _oid is already in the object (copied from the parent version).
We are not overriding it with the purpose of being used in activity_import in any of our cubes
(we will be overriding it for use in get_objects)
  • Loading branch information
jniznan committed Aug 26, 2014
1 parent 3a0577a commit 0655c30
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion metrique/cubes/sqldata/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ def _activity_import_doc(self, time_doc, activities):
pass # leave as-is
except Exception as e:
logger.error('Error updating creation time; %s' % e)
batch_updates = self._prep_objects(batch_updates)
return batch_updates

def _activity_backwards(self, val, removed, added):
Expand Down

0 comments on commit 0655c30

Please sign in to comment.