summaryrefslogtreecommitdiff
path: root/meetingtools/apps
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@nordu.net>2014-04-11 17:31:11 +0200
committerJohan Lundberg <lundberg@nordu.net>2014-04-11 17:31:11 +0200
commite25b7d32251e5c255b1d7c133158b287c505e35a (patch)
tree561074532b5dd4722c4d36e6e9b534c86e2ff270 /meetingtools/apps
parent781fadc82dd5f25ef30d99ddd1b01d1b3256b415 (diff)
Timed import api calls no longer raises errors.
Diffstat (limited to 'meetingtools/apps')
-rw-r--r--meetingtools/apps/content/tasks.py2
-rw-r--r--meetingtools/apps/stats/tasks.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/meetingtools/apps/content/tasks.py b/meetingtools/apps/content/tasks.py
index dd9c2ee..eef0e58 100644
--- a/meetingtools/apps/content/tasks.py
+++ b/meetingtools/apps/content/tasks.py
@@ -106,7 +106,7 @@ def timed_full_import():
{'filter-out-type': 'meeting',
'filter-gte-date-modified': begin.isoformat(),
'filter-lte-date-modified': end.isoformat()},
- raise_error=True)
+ raise_error=False)
if r:
nr = 0
for row in r.et.xpath("//row"):
diff --git a/meetingtools/apps/stats/tasks.py b/meetingtools/apps/stats/tasks.py
index 0a26d66..77e7513 100644
--- a/meetingtools/apps/stats/tasks.py
+++ b/meetingtools/apps/stats/tasks.py
@@ -62,7 +62,7 @@ def timed_full_import():
with ac_api_client(acc) as api:
p = {'sort': 'asc', 'sort1': 'date-created', 'filter-type': 'meeting',
'filter-gte-date-created': begin.isoformat(), 'filter-lte-date-created': end.isoformat()}
- r = api.request('report-bulk-consolidated-transactions', p, True)
+ r = api.request('report-bulk-consolidated-transactions', p, False)
nr = 0
ne = 0
for tx in r.et.findall(".//row"):