--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/eradicate.py Sat Nov 21 19:31:16 2020 +0100 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/eradicate.py Sun Nov 22 16:04:59 2020 +0100 @@ -227,5 +227,5 @@ else: try: fix_file(name, args=args, standard_out=standard_out) - except IOError as exception: + except OSError as exception: print('{}'.format(exception), file=standard_error)