Commit 0c027306 authored by Łukasz Nowak's avatar Łukasz Nowak

Support full parameter correctly.

parent 4dcde791
......@@ -56,9 +56,9 @@ kw = {}\n
if params is None:\n
params = {}\n
\n
last_active_process = context.getLastActiveProcess()\n
\n
if last_active_process is not None and params.get(\'full\', False):\n
if not params.get(\'full\', False):\n
raise ValueError(params)\n
last_active_process = context.getLastActiveProcess()\n
# fetch only objects modified since last alarm run\n
kw[\'indexation_timestamp\'] = \'>= %s\' % last_active_process.getStartDate().ISO()\n
\n
......
111
\ No newline at end of file
112
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment