Skip to content

Commit

Permalink
[#1078] inherit from dict to pass some isinstance checks
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Dec 15, 2014
1 parent 3462450 commit 0afe2db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/lib/lazyjson.py
Expand Up @@ -2,7 +2,7 @@
import simplejson.encoder as json_encoder


class LazyJSONObject(object):
class LazyJSONObject(dict):
'''An object that behaves like a dict returned from json.loads'''
def __init__(self, json_string):
self._json_string = json_string
Expand Down

0 comments on commit 0afe2db

Please sign in to comment.