deb-swift/swift/common
Zack M. Davis 1b8b08039a remove remaining simplejson uses, prefer standard library import
a1c32702, 736cf54a, and 38787d0f remove uses of `simplejson` from
various parts of Swift in favor of the standard libary `json`
module (introduced in Python 2.6). This commit performs the remaining
`simplejson` to `json` replacements, removes two comments highlighting
quirks of simplejson with respect to Unicode, and removes the references
to it in setup documentation and requirements.txt.

There were a lot of places where we were importing json from
swift.common.utils, which is less intuitive than a direct `import json`,
so that replacement is made as well.

(And in two more tiny drive-bys, we add some pretty-indenting to an XML
fragment and use `super` rather than naming a base class explicitly.)

Change-Id: I769e88dda7f76ce15cf7ce930dc1874d24f9498a
2015-11-16 12:34:24 -08:00
..
middleware remove remaining simplejson uses, prefer standard library import 2015-11-16 12:34:24 -08:00
ring remove remaining simplejson uses, prefer standard library import 2015-11-16 12:34:24 -08:00
__init__.py Start using Hacking 2013-07-15 11:41:58 +02:00
base_storage_server.py Add server type in OPTIONS response 2015-01-30 00:25:28 +05:30
bufferedhttp.py py3: Replace urllib imports with six.moves.urllib 2015-10-08 15:24:13 +02:00
constraints.py py3: Replace basestring with six.string_types 2015-10-09 22:20:03 +02:00
container_sync_realms.py Use six to fix imports on Python 3 2015-07-24 11:48:28 +02:00
daemon.py Revert "Refactor common/utils methods to common/ondisk" 2013-10-07 17:18:09 -04:00
db_replicator.py node_timeout as float in configs 2015-10-19 21:14:34 +02:00
db.py remove remaining simplejson uses, prefer standard library import 2015-11-16 12:34:24 -08:00
direct_client.py remove remaining simplejson uses, prefer standard library import 2015-11-16 12:34:24 -08:00
exceptions.py minutæ: port ClientException tweaks from swiftclient; dict .pop 2015-10-08 16:39:35 -07:00
http.py Fix pep8 E265 warning of hacking 0.10 2015-07-30 09:33:18 +02:00
internal_client.py Read the response body, if response status is greater than 300. 2015-11-05 20:07:15 -08:00
manager.py pep8: Fix usage of the l10n _('...') function 2015-08-19 17:12:51 -07:00
memcached.py remove remaining simplejson uses, prefer standard library import 2015-11-16 12:34:24 -08:00
request_helpers.py py3: Use six.reraise() to reraise an exception 2015-10-08 15:33:26 +02:00
splice.py Replace reduce and unichr , these are no longer available in py3 2015-07-09 21:56:29 +05:30
storage_policy.py Input validation must not depend on the locale 2015-08-27 01:19:00 +02:00
swob.py Interpolate the explanation string not whole HTML body 2015-10-15 11:38:53 -07:00
utils.py remove remaining simplejson uses, prefer standard library import 2015-11-16 12:34:24 -08:00
wsgi.py Merge "monkeypatch thread for keystoneclient" 2015-11-11 21:08:53 +00:00