aboutsummaryrefslogtreecommitdiff
path: root/devel/ice/files/patch-cpp-test-Ice-properties-run.py
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ice/files/patch-cpp-test-Ice-properties-run.py')
-rw-r--r--devel/ice/files/patch-cpp-test-Ice-properties-run.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/ice/files/patch-cpp-test-Ice-properties-run.py b/devel/ice/files/patch-cpp-test-Ice-properties-run.py
new file mode 100644
index 000000000000..b99503f630b5
--- /dev/null
+++ b/devel/ice/files/patch-cpp-test-Ice-properties-run.py
@@ -0,0 +1,11 @@
+--- cpp/test/Ice/properties/run.py.orig 2015-12-27 03:21:09.629772970 +0100
++++ cpp/test/Ice/properties/run.py 2015-12-27 03:21:20.836761970 +0100
+@@ -28,7 +28,7 @@
+ #
+ if sys.version_info[0] == 2:
+ configPath = "./config/\xe4\xb8\xad\xe5\x9b\xbd_client.config"
+- decodedPath = configPath.decode("utf-8")
++ decodedPath = configPath
+ else:
+ configPath = "./config/\u4e2d\u56fd_client.config"
+ decodedPath = configPath # No need to decode with Python3, strings are already Unicode