summaryrefslogtreecommitdiff
path: root/hplip-hpfax-importerror-print.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-hpfax-importerror-print.patch
parentd8ce4006ffe8011c16c265205aa330c52a0de0c1 (diff)
automatic import of hplipopeneuler24.03_LTS
Diffstat (limited to 'hplip-hpfax-importerror-print.patch')
-rw-r--r--hplip-hpfax-importerror-print.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/hplip-hpfax-importerror-print.patch b/hplip-hpfax-importerror-print.patch
new file mode 100644
index 0000000..3fdafda
--- /dev/null
+++ b/hplip-hpfax-importerror-print.patch
@@ -0,0 +1,13 @@
+diff --git a/fax/backend/hpfax.py b/fax/backend/hpfax.py
+index a63051d..3e187c9 100755
+--- a/fax/backend/hpfax.py
++++ b/fax/backend/hpfax.py
+@@ -89,7 +89,7 @@ try:
+ from base import utils
+ #from prnt import cups
+ except ImportError as e:
+- bug("Error importing HPLIP modules: %s\n" % (pid, e))
++ bug("Error importing HPLIP modules: %s\n" % (e))
+ sys.exit(1)
+
+ def handle_sigpipe():