Commit 59df60ae authored by Aurel's avatar Aurel

fixup! make patch work with Zope2

parent 71edadf9
......@@ -46,7 +46,7 @@ def checkNameLax(self, node, name=_MARKER, allow_magic_methods=False):
if name.endswith('__roles__'):
self.error(node, '"%s" is an invalid variable name because '
'it ends with "__roles__".' % name)
elif name in FORBIDDEN_FUNC_NAMES:
elif name in FORBIDDEN_FUNC_NAMES:
self.error(node, '"{name}" is a reserved name.'.format(name=name))
......
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