From 0eea121d8c6440e1708bd2d236a9f82b323da2b4 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Fri, 7 Oct 2011 17:36:37 +0200 Subject: [PATCH] Indent manifest nicely. --- compressor/cache.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compressor/cache.py b/compressor/cache.py index 68baabd..79bb49d 100644 --- a/compressor/cache.py +++ b/compressor/cache.py @@ -67,7 +67,8 @@ def get_offline_manifest(): def write_offline_manifest(manifest): filename = get_offline_manifest_filename() - default_storage.save(filename, ContentFile(simplejson.dumps(manifest))) + default_storage.save(filename, + ContentFile(simplejson.dumps(manifest, indent=2))) def get_templatetag_cachekey(compressor, mode, kind): return get_cachekey(