hplip-silence-ioerror.patch 480 B

12345678910111213
  1. diff -up hplip-3.15.2/base/logger.py.silence-ioerror hplip-3.15.2/base/logger.py
  2. --- hplip-3.15.2/base/logger.py.silence-ioerror 2015-03-16 16:48:12.750337907 +0000
  3. +++ hplip-3.15.2/base/logger.py 2015-03-16 16:48:34.850253564 +0000
  4. @@ -199,6 +199,8 @@ class Logger(object):
  5. out.write('\n')
  6. out.flush()
  7. + except IOError:
  8. + pass
  9. finally:
  10. self._lock.release()