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