Commit bed2d295 authored by Arnaud Fontaine's avatar Arnaud Fontaine

ZODB Components: Add further information when pylint cannot be imported.

parent 8c2a34b8
......@@ -301,8 +301,8 @@ class ComponentMixin(PropertyRecordableMixin, Base):
try:
from pylint.lint import Run
from pylint.reporters.text import TextReporter
except ImportError:
return ['F: Cannot check Source Code: Pylint is not available'], []
except ImportError, error:
return ['F: Cannot check Source Code: Pylint is not available (%s)' % error], []
import cStringIO
import tempfile
......
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