Commit 8ef0d106 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Renamed from ERP5Site_printObjectPath.py to ERP5Site_getObjectPathListAsText.py.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1546 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent afdeb522
## Script (Python) "ERP5Site_getObjectPathListAsText"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters= ##parameters=
##title=
##
site = context.portal_url.getPortalObject() site = context.portal_url.getPortalObject()
object_list = [] object_list = []
for o in site.objectValues(): for o in site.objectValues():
...@@ -15,4 +23,3 @@ object_list.sort() ...@@ -15,4 +23,3 @@ object_list.sort()
for path in object_list: for path in object_list:
print '/'.join(path) print '/'.join(path)
return printed return printed
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