summaryrefslogtreecommitdiff
path: root/hplip-3165-sourceoption.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-3165-sourceoption.patch
parentd8ce4006ffe8011c16c265205aa330c52a0de0c1 (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: