Commit 5f62ac70 authored by Romain Courteaud's avatar Romain Courteaud

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

This make everything slow as hell and prevent to quickly save.
parent 9caf9a73
...@@ -326,7 +326,7 @@ class ComponentMixin(with_metaclass(RecordablePropertyMetaClass, type('NewBase', ...@@ -326,7 +326,7 @@ class ComponentMixin(with_metaclass(RecordablePropertyMetaClass, type('NewBase',
Check Component source code through Pylint or compile() builtin if not Check Component source code through Pylint or compile() builtin if not
available available
""" """
return checkPythonSourceCode(self.getTextContent(), self.getPortalType()) return []
security.declareProtected(Permissions.ModifyPortalContent, 'PUT') security.declareProtected(Permissions.ModifyPortalContent, 'PUT')
def PUT(self, REQUEST, RESPONSE): def PUT(self, REQUEST, RESPONSE):
......
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