summaryrefslogtreecommitdiff
path: root/hplip-3165-sourceoption.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 15:40:13 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 15:40:13 +0000
commit05f6fb34ee79ee8112ef549e93f0a138be0e2abf (patch)
tree6ba01d84d85f00b380477077d920c341c3570b09 /hplip-3165-sourceoption.patch
parent9e5a3ab8358d9d01de9ddf82042f5f1a42cfb841 (diff)
automatic import of hplipopeneuler24.03_LTS
Diffstat (limited to 'hplip-3165-sourceoption.patch')
-rw-r--r--hplip-3165-sourceoption.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/hplip-3165-sourceoption.patch b/hplip-3165-sourceoption.patch
new file mode 100644
index 0000000..fd8ff09
--- /dev/null
+++ b/hplip-3165-sourceoption.patch
@@ -0,0 +1,11 @@
+diff -up hplip-3.16.5/scan.py.sourceoption hplip-3.16.5/scan.py
+--- hplip-3.16.5/scan.py.sourceoption 2016-06-22 10:25:52.742799941 +0200
++++ hplip-3.16.5/scan.py 2016-06-22 10:34:51.945766487 +0200
+@@ -658,6 +658,7 @@ try:
+ sys.exit(1)
+ except:
+ log.error("Failed to get the source from device.")
++ sys.exit(1)
+
+ #check if device has only ADF
+ if len(source_option) == 1 and 'ADF' in source_option: