Commit f6ea216e authored by Jérome Perrin's avatar Jérome Perrin

- generate code indented with 2 spaces

- use "error_list" instead of "errors"


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33927 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 17fdef01
...@@ -671,11 +671,11 @@ class %s(Constraint): ...@@ -671,11 +671,11 @@ class %s(Constraint):
satisfy the constraint satisfy the constraint
\"\"\" \"\"\"
errors = [] error_list = []
# Do the job here # Do the job here
return errors return error_list
""" % (COPYRIGHT, class_id) """ % (COPYRIGHT, class_id)
self.writeLocalConstraint(class_id, text) self.writeLocalConstraint(class_id, text)
if REQUEST is not None: if REQUEST is not 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