Commit 3a2f0bf4 authored by Julien Muchembled's avatar Julien Muchembled

erp5_core: remove 2 useless scripts

parent 336a8d63
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>site = context.portal_url.getPortalObject()\n
object_list = []\n
for o in site.objectValues():\n
if hasattr(o,\'getMetaType\'):\n
if o.getMetaType()==\'ERP5 Folder\':\n
path = o.getPhysicalPath()\n
object_ids = o.objectIds()\n
for id in object_ids:\n
object_list += [path + (id,)]\n
path = site.portal_simulation.getPhysicalPath()\n
for id in site.portal_simulation.objectIds():\n
object_list += [path + (id,)]\n
object_list.sort()\n
for path in object_list:\n
print \'/\'.join(path)\n
return printed\n
</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ERP5Site_getObjectPathListAsText</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>path_list = []\n
for folder in context.portal_url.getPortalObject().objectValues(("ERP5 Folder",)):\n
path = folder.getPath()\n
for id in folder.objectIds():\n
path_list.append(\'%s/%s\' % (path,id))\n
path_list.sort()\n
return \'\\n\'.join(path_list)\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>**kw</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>ERP5Site_getOrderedPathList</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
40967
\ No newline at end of file
40968
\ 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