[Erp5-report] r36409 mayoro - /erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jun 16 19:00:26 CEST 2010


Author: mayoro
Date: Wed Jun 16 19:00:23 2010
New Revision: 36409

URL: http://svn.erp5.org?rev=36409&view=rev
Log:
2010-06-16 mayoro
* remove unused script (commiting this file was a mistake)

Removed:
    erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/copy_of_EGov_getCategoryChildItemListByFieldName.xml

Removed: erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/copy_of_EGov_getCategoryChildItemListByFieldName.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/copy_of_EGov_getCategoryChildItemListByFieldName.xml?rev=36408&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/copy_of_EGov_getCategoryChildItemListByFieldName.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/copy_of_EGov_getCategoryChildItemListByFieldName.xml (removed)
@@ -1,192 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </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>if field_name is None or field_name=="":\n
-  return [(\'\',\'\')]\n
-\n
-category = None\n
-\n
-if field_name == "my_contact_function":\n
-  category = context.portal_categories.function\n
-elif field_name =="my_organisation_direction_service":\n
-  category = context.portal_categories.group\n
-elif field_name.startswith(\'my_involved_service_group_\'):\n
-  category = context.portal_categories.group\n
-elif field_name.startswith(\'my_involved_service_function_\'):\n
-  category = context.portal_categories.function\n
-elif field_name == "my_procedure_target":\n
-  category = context.portal_categories.target\n
-elif field_name == "my_submission_site_list":\n
-  category = context.portal_categories.site\n
-elif field_name == "my_procedure_publication_section":\n
-  category = context.portal_categories.publication_section\n
-elif field_name == "my_submission_site":\n
-  category = context.portal_categories.site\n
-elif field_name.startswith("my_civility"):\n
-  category = context.portal_categories.gender\n
-elif field_name.startswith("my_citizen_gender"):\n
-  category = context.portal_categories.civility\n
-elif field_name.startswith("my_citizen_function"):\n
-  category = context.portal_categories.function\n
-elif field_name.startswith("my_citizen_city"):\n
-  category = context.portal_categories.site\n
-elif field_name.startswith("my_company_boss_gender"):\n
-  category = context.portal_categories.civility\n
-elif field_name.startswith("my_company_boss_function"):\n
-  category = context.portal_categories.function\n
-elif field_name.startswith("my_company_city"):\n
-  category = context.portal_categories.site\n
-elif field_name.startswith("my_company_country"):\n
-  category = context.portal_categories.nationality\n
-elif field_name.startswith("my_accountant_gender"):\n
-  category = context.portal_categories.civility\n
-elif field_name.startswith("my_accountant_function"):\n
-  category = context.portal_categories.function\n
-elif field_name.startswith("my_accountant_city"):\n
-  category = context.portal_categories.site\n
-elif field_name.startswith("my_accountant_country"):\n
-  category = context.portal_categories.nationality\n
-\n
-if category is not None:\n
-  return context.Base_getPreferredCategoryChildItemList(category, filter_node=0, translate=False)\n
-elif field_name.startswith("my_attachment_model_"):\n
-  portal_type_list = context.portal_catalog(portal_type=\'Contribution Predicate\')\n
-  contribution_type_list = [(\'\',\'\')] + [(a.getObject().getTitle(),a.getObject().getTitle()) for a in portal_type_list]\n
-  pdf_type_list = context.getPortalObject().portal_types.contentValues(filter={\'portal_type\': \'PDF Type\'})\n
-  all_type_list = contribution_type_list +  [(pt.getId(), pt.getId()) for pt in pdf_type_list]\n
-  return all_type_list\n
-else:\n
-  return [(\'\',\'\')]\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string>field_name=\'\'</string> </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>1</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>field_name</string>
-                            <string>None</string>
-                            <string>category</string>
-                            <string>_getattr_</string>
-                            <string>context</string>
-                            <string>False</string>
-                            <string>portal_type_list</string>
-                            <string>append</string>
-                            <string>$append0</string>
-                            <string>_getiter_</string>
-                            <string>a</string>
-                            <string>contribution_type_list</string>
-                            <string>pdf_type_list</string>
-                            <string>pt</string>
-                            <string>all_type_list</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <tuple>
-                <string></string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>copy_of_EGov_getCategoryChildItemListByFieldName</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>




More information about the Erp5-report mailing list