Commit 85fccaff authored by Julien Muchembled's avatar Julien Muchembled

Remove useless code

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37557 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f0baa8c9
...@@ -178,7 +178,6 @@ class RuleMixin: ...@@ -178,7 +178,6 @@ class RuleMixin:
kw -- XXX-JPS probably wrong interface specification kw -- XXX-JPS probably wrong interface specification
""" """
portal_types = getToolByName(self, 'portal_types')
if id is None: if id is None:
id = context.generateNewId() id = context.generateNewId()
if getattr(aq_base(context), id, None) is None: if getattr(aq_base(context), id, None) is None:
......
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