Commit 933be97b authored by Aurel's avatar Aurel

fix typo in script

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9122 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1fba4c3b
No related merge requests found
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
counter_list = [x.getObject() for x in context.portal_catalog(portal_type="Counter", simulation_state = \'open\', site_uid = site.getUid())]\n counter_list = [x.getObject() for x in context.portal_catalog(portal_type="Counter", simulation_state = \'open\', site_uid = site.getUid())]\n
for counter_ob in counter_list:\n for counter_ob in counter_list:\n
# context.log(counter.getRelativeUrl(), counter_ob.getSite())\n # context.log(counter.getRelativeUrl(), counter_ob.getSite())\n
if "site/%" %counter_ob.getSite() in counter.getRelativeUrl() or counter.getRelativeUrl() in "site/%" %counter_ob.getSite():\n if "site/%s" %counter_ob.getSite() in counter.getRelativeUrl() or counter.getRelativeUrl() in "site/%s" %counter_ob.getSite():\n
return 1\n return 1\n
else:\n else:\n
return 0\n return 0\n
......
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