Commit d2e89658 authored by Łukasz Nowak's avatar Łukasz Nowak

- allow to work in erp5_core and do not report really wanted Base_viewFieldLibrary


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30568 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5fef5fe2
......@@ -107,7 +107,7 @@ for skin_folder_id in context.getTemplateSkinIdList():\n
# Find old field library to delete\n
for object_id in skin_folder.objectIds():\n
if (object_id.endswith(\'FieldLibrary\') and \\\n
(object_id != field_library_id)):\n
(object_id not in (field_library_id, \'Base_viewFieldLibrary\'))):\n
obj = getForm(skin_folder, object_id)\n
if obj is None:\n
raise KeyError, \'%s/%s\' % (skin_folder_id, object_id)\n
......
527
\ No newline at end of file
528
\ 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