Commit 8378acfc authored by Romain Courteaud's avatar Romain Courteaud

XXX HARDCODED [ERP5Type/component] Desactive python linting when saving

This make everything slow as hell and prevent to quickly save.
parent c97ebaef
......@@ -306,6 +306,7 @@ class ComponentMixin(PropertyRecordableMixin, Base):
Check Component source code through Pylint or compile() builtin if not
available
"""
return []
return checkPythonSourceCode(self.getTextContent())
security.declareProtected(Permissions.ModifyPortalContent, 'PUT')
......
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