Skip to content

Commit

Permalink
global: missing imports fix
Browse files Browse the repository at this point in the history
Signed-off-by: Esteban J. G. Gabancho <[email protected]>
  • Loading branch information
egabancho committed Oct 1, 2015
1 parent 9033114 commit e057017
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions invenio_records/receivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ def record_modification(sender, changes):


def new_collection(mapper, connection, target):
from .tasks.index import index_collection_percolator
if target.dbquery is not None:
index_collection_percolator.delay(target.name, target.dbquery)
1 change: 1 addition & 0 deletions invenio_records/tasks/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@


from celery.utils.log import get_task_logger
from sqlalchemy import exc

from invenio_celery import celery

Expand Down

0 comments on commit e057017

Please sign in to comment.