Commit 28fcdc03 authored by Aurel's avatar Aurel

forgot xrange in loop on len

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17680 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 69f9b396
......@@ -94,7 +94,7 @@ if archive.getStopDateRangeMax() is not None:\n
\n
if len(previous_archive_list) > 0:\n
# Check the date\n
for x in len(previous_archive_list):\n
for x in xrange(len(previous_archive_list)):\n
previous_archive = previous_archive_list[x]\n
# find a previous archive which was not for current catalog\n
if previous_archive.getStopDateRangeMax() is not None:\n
......@@ -109,7 +109,7 @@ else:\n
\n
if len(previous_archive_list) > 0:\n
# Check the date\n
for x in len(previous_archive_list):\n
for x in xrange(len(previous_archive_list)):\n
previous_archive = previous_archive_list[x]\n
# find a previous archive which was not for current catalog\n
if previous_archive.getStopDateRangeMax() is not None:\n
......@@ -190,6 +190,7 @@ for arch in previous_archive_list:\n
<string>x</string>
<string>previous_archive_list</string>
<string>len</string>
<string>xrange</string>
<string>previous_archive</string>
<string>arch</string>
</tuple>
......
66
\ No newline at end of file
67
\ 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