pylint #98718 Regression: --errors-only silences fatal errors [open]

Change 502 introduced "pylint -e must not silence Fatal messages", but change 564 "refactor messages and checker handling" reverted the behavior.

Current result:
$ pylint --errors-only foo.py
$ echo $?
0

Expected result:
$ pylint --errors-only foo.py
************* Module foo
F: 1,0: Unable to import 'bar'
$ echo $?
1

This patch restores the behavior from change 502:
diff -r b91be9d00e50 lint.py
--- a/lint.py Thu Jun 07 16:55:09 2012 +0200
+++ b/lint.py Thu Jun 14 00:35:28 2012 +0800
@@ -348,7 +348,7 @@

def disable_noerror_messages(self):
for msgcat, msgids in self._msgs_by_category.iteritems():
- if msgcat == 'E':
+ if msgcat in ('E', 'F'):
for msgid in msgids:
self.enable(msgid)
else:

prioritynormal
typebug
done in<not specified>
load0.500
load left0.500
closed by<not specified>