summaryrefslogtreecommitdiff
path: root/warlock/core.py
diff options
context:
space:
mode:
authorBrian Waldon <bcwaldon@gmail.com>2012-06-07 13:27:46 -0700
committerBrian Waldon <bcwaldon@gmail.com>2012-06-07 13:27:46 -0700
commitf25ce31640ec30429cd6408ee6e768e9788f9af3 (patch)
treec5df7d3d74ae7dd3b1edcd2b20727881df6ed464 /warlock/core.py
parentd5a35f967616d527c17abe97dca4140da3b29951 (diff)
downloadwarlock-f25ce31640ec30429cd6408ee6e768e9788f9af3.tar.gz
Cast schema name to string
Diffstat (limited to 'warlock/core.py')
-rw-r--r--warlock/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/warlock/core.py b/warlock/core.py
index e4a070a..205c221 100644
--- a/warlock/core.py
+++ b/warlock/core.py
@@ -53,5 +53,5 @@ def model_factory(schema):
raise InvalidOperation()
self.__dict__['raw'] = mutation
- Model.__name__ = schema['name']
+ Model.__name__ = str(schema['name'])
return Model