Commit 13b6c751 authored by Aurel's avatar Aurel

test must be strict with max date otherwise objects at archive date are...

test must be strict with max date otherwise objects at archive date are cataloged both in destination catalog and archive catalog

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18464 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 26b8ffc0
...@@ -101,7 +101,7 @@ if getattr(context, \'getStopDate\', None) is not None:\n ...@@ -101,7 +101,7 @@ if getattr(context, \'getStopDate\', None) is not None:\n
if log:\n if log:\n
context.log("obj stop date %s" %context.getStopDate(), "min %s, max %s" %(min_stop_date, max_stop_date))\n context.log("obj stop date %s" %context.getStopDate(), "min %s, max %s" %(min_stop_date, max_stop_date))\n
if max_stop_date is not None:\n if max_stop_date is not None:\n
result = result and (context.getStopDate() <= max_stop_date)\n result = result and (context.getStopDate() < max_stop_date)\n
if min_stop_date is not None:\n if min_stop_date is not None:\n
result = result and (context.getStopDate() >= min_stop_date)\n result = result and (context.getStopDate() >= min_stop_date)\n
if log:\n if log:\n
......
67 68
\ No newline at end of file \ 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