Mercurial > hgrepos > Python > libs > ConfigMix
changeset 137:e84870359e1a
Enhance docu
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Thu, 05 Apr 2018 09:42:23 +0200 |
| parents | eee1dd1f99bf |
| children | b883f4ef1967 |
| files | configmix/json.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configmix/json.py Thu Apr 05 09:39:41 2018 +0200 +++ b/configmix/json.py Thu Apr 05 09:42:23 2018 +0200 @@ -55,5 +55,5 @@ decoder = json.decoder.JSONDecoder(**kwds) data = decoder.decode(jsfp.read()) if not isinstance(data, DictImpl): - raise TypeError("JSON root must be an object") + raise TypeError("JSON root must be an object (i.e. dict)") return data
