summaryrefslogtreecommitdiff
path: root/chimere/tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/tasks.py')
-rw-r--r--chimere/tasks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/chimere/tasks.py b/chimere/tasks.py
index 53c0e5b..a74dce8 100644
--- a/chimere/tasks.py
+++ b/chimere/tasks.py
@@ -98,7 +98,7 @@ def importing(importer_pk):
@task()
@single_instance_task(60*10)
-def exporting(importer_pk):
+def exporting(importer_pk, extra_args=[]):
try:
importer = Importer.objects.get(pk=importer_pk)
except ObjectDoesNotExist:
@@ -111,7 +111,7 @@ def exporting(importer_pk):
importer.save()
error = None
try:
- updated_item, error = importer.manager.put()
+ updated_item, error = importer.manager.put(extra_args)
except OsmApi.ApiError, error:
pass
if error: