summaryrefslogtreecommitdiff
path: root/libre/hplip/fix_tabs.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-09-02 03:14:48 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-09-02 03:14:48 -0300
commit363243fe9c9a87d9647ed395dfb10f5f5509c1a2 (patch)
tree4f3be9917c3758ab899e598753201575247fdd92 /libre/hplip/fix_tabs.patch
parent0eca99fa4bf0d2dc86c1795b8a6e0ddb273c671d (diff)
hplip-3.16.8-2.parabola1: fix tabs breaking python - FS#50588 -> https://bugs.archlinux.org/task/50588
Diffstat (limited to 'libre/hplip/fix_tabs.patch')
-rw-r--r--libre/hplip/fix_tabs.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/libre/hplip/fix_tabs.patch b/libre/hplip/fix_tabs.patch
new file mode 100644
index 000000000..1552933df
--- /dev/null
+++ b/libre/hplip/fix_tabs.patch
@@ -0,0 +1,17 @@
+--- prnt/filters/hpps 2016-08-26 12:04:29.000000000 +0200
++++ prnt/filters/hpps.new 2016-08-31 21:19:57.868640372 +0200
+@@ -191,11 +191,11 @@
+ msg("Setting Pin to default")
+ else:
+ szKeyInitials = ['HPFIDigit', 'HPSEDigit', 'HPTHDigit', 'HPFTDigit']
+- for x in szKeyInitials:
++ for x in szKeyInitials:
+ try:
+- secpin += opts[x]
++ secpin += opts[x]
+ except KeyError:
+- secpin += '0'
++ secpin += '0'
+
+ os.write(output_fd, to_bytes_utf8('@PJL SET HOLDKEY="%s"\x0a' % secpin))
+