Commit b74f829b authored by Aurel's avatar Aurel

return string instead of object

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8754 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c35afbf0
...@@ -77,8 +77,9 @@ for a in valid_assignment_list:\n ...@@ -77,8 +77,9 @@ for a in valid_assignment_list:\n
new_site = a.getSiteValue()\n new_site = a.getSiteValue()\n
while new_site.getVaultType()!=\'site\':\n while new_site.getVaultType()!=\'site\':\n
new_site = new_site.getParentValue()\n new_site = new_site.getParentValue()\n
if new_site not in site_list:\n site_url = new_site.getRelativeUrl()\n
site_list.append(new_site)\n if site_url not in site_list:\n
site_list.append(site_url)\n
return site_list\n return site_list\n
</string> </value> </string> </value>
</item> </item>
...@@ -143,6 +144,7 @@ return site_list\n ...@@ -143,6 +144,7 @@ return site_list\n
<string>_getiter_</string> <string>_getiter_</string>
<string>a</string> <string>a</string>
<string>new_site</string> <string>new_site</string>
<string>site_url</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
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