From e25b7d32251e5c255b1d7c133158b287c505e35a Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Fri, 11 Apr 2014 17:31:11 +0200 Subject: Timed import api calls no longer raises errors. --- meetingtools/apps/content/tasks.py | 2 +- meetingtools/apps/stats/tasks.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'meetingtools/apps') 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"): -- cgit v1.1