summaryrefslogtreecommitdiffstats
path: root/source/xap/blueman/0002-NetConf-Treat-UnicodeDecodeError-as-if-there-was-no-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/blueman/0002-NetConf-Treat-UnicodeDecodeError-as-if-there-was-no-.patch')
-rw-r--r--source/xap/blueman/0002-NetConf-Treat-UnicodeDecodeError-as-if-there-was-no-.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/source/xap/blueman/0002-NetConf-Treat-UnicodeDecodeError-as-if-there-was-no-.patch b/source/xap/blueman/0002-NetConf-Treat-UnicodeDecodeError-as-if-there-was-no-.patch
deleted file mode 100644
index 17820a106..000000000
--- a/source/xap/blueman/0002-NetConf-Treat-UnicodeDecodeError-as-if-there-was-no-.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 2b4c3aecff94c1093de41285bba34b40bc69ddaf Mon Sep 17 00:00:00 2001
-From: Sander Sweers <infirit@gmail.com>
-Date: Mon, 2 May 2016 14:49:13 +0200
-Subject: [PATCH 2/2] NetConf: Treat UnicodeDecodeError as if there was no file
-
-This is unfortunate but most people will not even notice we created a new
-state file.
----
- blueman/main/NetConf.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/blueman/main/NetConf.py b/blueman/main/NetConf.py
-index d62dc14..4d7efd8 100644
---- a/blueman/main/NetConf.py
-+++ b/blueman/main/NetConf.py
-@@ -222,7 +222,7 @@ class NetConf(object):
- NetConf.default_inst = obj
- f.close()
- return obj
-- except IOError:
-+ except (IOError, UnicodeDecodeError):
- n = cls()
- try:
- n.store()
---
-2.8.3
-