summaryrefslogtreecommitdiff
path: root/libre/hplip/python.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/hplip/python.patch')
-rw-r--r--libre/hplip/python.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/hplip/python.patch b/libre/hplip/python.patch
new file mode 100644
index 000000000..b75d1f598
--- /dev/null
+++ b/libre/hplip/python.patch
@@ -0,0 +1,11 @@
+--- hplip-3.18.7/base/utils.py 2018-07-15 22:08:37.000000000 +0200
++++ hplip-3.18.7/base/utils.py.new 2018-08-08 21:46:48.721947940 +0200
+@@ -265,7 +265,7 @@
+ try:
+ names = os.listdir(root)
+ except os.error:
+- raise StopIteration
++ return
+
+ pattern = pattern or '*'
+ pat_list = pattern.split(';')