Mercurial > hg > configuration
changeset 9:b28ec204df23
flush out JSON provider
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sun, 25 Mar 2012 10:24:55 -0700 |
parents | 975fbc45cfcd |
children | c782d750fd6d |
files | configuration/config.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configuration/config.py Sat Mar 24 23:16:35 2012 -0700 +++ b/configuration/config.py Sun Mar 25 10:24:55 2012 -0700 @@ -27,7 +27,7 @@ class JSON(object): extensions = ['json'] def read(self, filename): - raise NotImplementedError("TODO") + return json.loads(file(filename).read()) configuration_providers.append(JSON) if yaml: