summaryrefslogtreecommitdiff
path: root/hplip-typo.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-typo.patch
parentd8ce4006ffe8011c16c265205aa330c52a0de0c1 (diff)
automatic import of hplipopeneuler24.03_LTS
Diffstat (limited to 'hplip-typo.patch')
-rw-r--r--hplip-typo.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/hplip-typo.patch b/hplip-typo.patch
new file mode 100644
index 0000000..4d93801
--- /dev/null
+++ b/hplip-typo.patch
@@ -0,0 +1,12 @@
+diff -up hplip-3.20.11/firmware.py.typo hplip-3.20.11/firmware.py
+--- hplip-3.20.11/firmware.py.typo 2021-02-03 10:53:34.311743805 +0100
++++ hplip-3.20.11/firmware.py 2021-02-03 10:54:13.229386257 +0100
+@@ -99,7 +99,7 @@ try:
+ if mode == GUI_MODE and (ui_toolkit == 'qt4' or ui_toolkit == 'qt5'):
+ if not utils.canEnterGUIMode4():
+ log.error("%s -u/--gui requires Qt4/Qt5 GUI support. Entering interactive mode." % __mod__)
+- mode = INTERACTIVE_MODE4
++ mode = INTERACTIVE_MODE
+
+ elif mode == GUI_MODE and ui_toolkit == 'qt3':
+ if not utils.canEnterGUIMode():