gentoo/dev-python/tablib/files/tablib-0.12.1-no-ujson.patch
Virgil Dupras 2ff4a3ffcc
dev-python/tablib: fix broken package
* Dependencies were both incomplete and spurious
* Fix tests which were failing for many different reasons

Bug: https://bugs.gentoo.org/659790
Bug: https://bugs.gentoo.org/621884
Package-Manager: Portage-2.3.44, Repoman-2.3.10
2018-08-07 11:55:12 -04:00

17 lines
335 B
Diff

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')