From 92ff4cdf8c84e91584dd6076aa5b3c774ab0a622 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 5 Aug 2024 02:45:17 +0000 Subject: automatic import of hplip --- hplip-silence-ioerror.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 hplip-silence-ioerror.patch (limited to 'hplip-silence-ioerror.patch') diff --git a/hplip-silence-ioerror.patch b/hplip-silence-ioerror.patch new file mode 100644 index 0000000..013931b --- /dev/null +++ b/hplip-silence-ioerror.patch @@ -0,0 +1,12 @@ +diff -up hplip-3.15.2/base/logger.py.silence-ioerror hplip-3.15.2/base/logger.py +--- hplip-3.15.2/base/logger.py.silence-ioerror 2015-03-16 16:48:12.750337907 +0000 ++++ hplip-3.15.2/base/logger.py 2015-03-16 16:48:34.850253564 +0000 +@@ -199,6 +199,8 @@ class Logger(object): + out.write('\n') + + out.flush() ++ except IOError: ++ pass + finally: + self._lock.release() + -- cgit v1.2.3