Commit ae467014 authored by Romain Courteaud's avatar Romain Courteaud

Bug correction.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2264 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6fb9c181
...@@ -583,7 +583,7 @@ class SitePropertyTemplateItem(BaseTemplateItem): ...@@ -583,7 +583,7 @@ class SitePropertyTemplateItem(BaseTemplateItem):
if p.hasProperty(id): if p.hasProperty(id):
# Too much??? # Too much???
raise TemplateConflictError, 'the property %s already exists' % id raise TemplateConflictError, 'the property %s already exists' % id
object._setProperty(id, property['value'], type=property['type']) p._setProperty(id, property['value'], type=property['type'])
def uninstall(self, context, **kw): def uninstall(self, context, **kw):
p = context.getPortalObject() p = context.getPortalObject()
......
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