mirror of
git://slackware.nl/current.git
synced 2024-12-26 09:58:59 +01:00
f81c11c624
ap/hplip-3.23.12-x86_64-4.txz: Rebuilt. Add a few patches from Arch, including one to fix a Unicode error with the sixext.py script that causes hp-setup to crash after detecting a printer. Thanks to truepatriot76. d/Cython-3.0.10-x86_64-1.txz: Upgraded. d/cargo-vendor-filterer-0.5.13-x86_64-1.txz: Upgraded. d/poke-4.0-x86_64-1.txz: Upgraded. l/editorconfig-core-c-0.12.7-x86_64-1.txz: Upgraded. l/jasper-4.2.3-x86_64-1.txz: Upgraded. l/libical-3.0.18-x86_64-1.txz: Upgraded. l/pango-1.52.2-x86_64-1.txz: Upgraded. l/python-lxml-5.2.0-x86_64-1.txz: Upgraded. l/wireplumber-0.5.1-x86_64-1.txz: Upgraded. n/c-ares-1.28.1-x86_64-1.txz: Upgraded. xap/blueman-2.4-x86_64-1.txz: Upgraded.
29 lines
747 B
Diff
29 lines
747 B
Diff
From 04b5a1ddac1dd90c5a392f23aaf7df42eae32918 Mon Sep 17 00:00:00 2001
|
|
From: Gaurav Sood <gaurav-sood@invalid-email.launchpad.net>
|
|
Date: Thu, 4 May 2017 18:32:08 +0200
|
|
Subject: Fix handling of unicode filenames in sixext.py
|
|
|
|
LP: #1480152
|
|
Closes: #861731
|
|
---
|
|
base/sixext.py | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/base/sixext.py b/base/sixext.py
|
|
index 0bf4fc4f4..311bf72c6 100644
|
|
--- a/base/sixext.py
|
|
+++ b/base/sixext.py
|
|
@@ -110,11 +110,11 @@ if PY3:
|
|
|
|
|
|
def to_string_utf8(s):
|
|
- return s.decode("utf-8")
|
|
+ return s.decode("utf-8", 'ignore')
|
|
|
|
|
|
def to_string_latin(s):
|
|
- return s.decode("latin-1")
|
|
+ return s.decode("latin-1", 'ignore')
|
|
|
|
|
|
def to_unicode(s, enc=None):
|