summaryrefslogtreecommitdiff
path: root/hplip-silence-ioerror.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-05 02:45:17 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-05 02:45:17 +0000
commit92ff4cdf8c84e91584dd6076aa5b3c774ab0a622 (patch)
tree6ba01d84d85f00b380477077d920c341c3570b09 /hplip-silence-ioerror.patch
parentd8ce4006ffe8011c16c265205aa330c52a0de0c1 (diff)
automatic import of hplipopeneuler24.03_LTS
Diffstat (limited to 'hplip-silence-ioerror.patch')
-rw-r--r--hplip-silence-ioerror.patch12
1 files changed, 12 insertions, 0 deletions
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()
+