summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/tablib/files/tablib-0.12.1-no-ujson.patch')
-rw-r--r--dev-python/tablib/files/tablib-0.12.1-no-ujson.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-python/tablib/files/tablib-0.12.1-no-ujson.patch b/dev-python/tablib/files/tablib-0.12.1-no-ujson.patch
new file mode 100644
index 00000000000..93f6f93b8b7
--- /dev/null
+++ b/dev-python/tablib/files/tablib-0.12.1-no-ujson.patch
@@ -0,0 +1,16 @@
+diff --git a/tablib/formats/_json.py b/tablib/formats/_json.py
+index a3d6cc3..4c2777a 100644
+--- a/tablib/formats/_json.py
++++ b/tablib/formats/_json.py
+@@ -6,10 +6,7 @@ import decimal
+
+ import tablib
+
+-try:
+- import ujson as json
+-except ImportError:
+- import json
++import json
+
+ title = 'json'
+ extensions = ('json', 'jsn')