fixed type in dal with simplejson, thanks Mart

This commit is contained in:
mdipierro committed 2013-05-25 10:39:16 -05:00
1 parent 0fc60eedfb
commit 9b1b9e73c5
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1 +1 @@
Version 2.4.7-stable+timestamp.2013.05.24.12.36.46 Version 2.4.7-stable+timestamp.2013.05.25.10.38.02
+1 -1
View File
@@ -1856,7 +1856,7 @@ class BaseAdapter(ConnectionPool):
if have_serializers: if have_serializers:
obj = serializers.json(obj) obj = serializers.json(obj)
elif simplejson: elif simplejson:
obj = simplejson.dumps(items) obj = simplejson.dumps(obj)
else: else:
raise RuntimeError("missing simplejson") raise RuntimeError("missing simplejson")
if not isinstance(obj,bytes): if not isinstance(obj,bytes):