fixed type in dal with simplejson, thanks Mart

This commit is contained in:
mdipierro
2013-05-25 10:39:16 -05:00
parent 0fc60eedfb
commit 9b1b9e73c5
2 changed files with 2 additions and 2 deletions
+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:
obj = serializers.json(obj)
elif simplejson:
obj = simplejson.dumps(items)
obj = simplejson.dumps(obj)
else:
raise RuntimeError("missing simplejson")
if not isinstance(obj,bytes):