Commit 5c356075 authored by Christophe Dumez's avatar Christophe Dumez

fixed comments in OOo import

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9108 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 064dae58
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
# get a dict like {\'religion\': \'MRD\', \'gender\': \'M\'} and returns {\'religion\': \'MSM/MRD\', gender: \'male\'} so that \n # get a dict like {\'religion\': \'MRD\', \'gender\': \'M\'} and returns {\'religion\': \'MSM/MRD\', gender: \'male\'} so that \n
# we can call an edit(category_dict) directly on the object it browse recursively the subcategories of the \n # we can call an edit(category_dict) directly on the object it browse recursively the subcategories of the \n
# category (key in the dict) and find a match "Codification" (TODO: support "Reference" & \'id\' matching)\n # category (key in the dict) and find a matching reference or title.\n
# Christophe Dumez <christophe@nexedi.com>\n # Christophe Dumez <christophe@nexedi.com>\n
\n \n
#def getMatchingCategoryUsingCodification(root_category, codification):\n #def getMatchingCategoryUsingCodification(root_category, codification):\n
......
...@@ -191,7 +191,7 @@ else:\n ...@@ -191,7 +191,7 @@ else:\n
for (module, per_portal_type_data) in object_list.items():\n for (module, per_portal_type_data) in object_list.items():\n
for (portal_type, new_object_list) in per_portal_type_data.items():\n for (portal_type, new_object_list) in per_portal_type_data.items():\n
for new_object_property_dict in new_object_list:\n for new_object_property_dict in new_object_list:\n
#get portal tye objects\n #get portal type objects\n
ptype_object = None\n ptype_object = None\n
for allowed_ptype in module.allowedContentTypes():\n for allowed_ptype in module.allowedContentTypes():\n
ptype_name = \'\'.join(allowed_ptype.id.split(\' \'))\n ptype_name = \'\'.join(allowed_ptype.id.split(\' \'))\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