Mercurial > piecrust2
diff piecrust/environment.py @ 158:1187739e5a19
Fix some indentation and line lengths.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 31 Dec 2014 16:56:55 -0800 |
parents | 371a6c879ab9 |
children | aa6b7ff6a193 |
line wrap: on
line diff
--- a/piecrust/environment.py Sat Dec 27 18:17:30 2014 -0800 +++ b/piecrust/environment.py Wed Dec 31 16:56:55 2014 -0800 @@ -60,7 +60,8 @@ logger.debug("'%s' found in file-system cache." % key) item_raw = self.fs_cache.read(fs_key) - item = json.loads(item_raw, + item = json.loads( + item_raw, object_pairs_hook=collections.OrderedDict) self.cache.put(key, item) return item