Add 'set' to serializable types in Query.as_dict

This commit is contained in:
Dominic König
2013-09-09 14:59:29 +02:00
parent 2a0f481b42
commit 01c0d14396
+1 -1
View File
@@ -9804,7 +9804,7 @@ class Query(object):
"second":0} "second":0}
""" """
SERIALIZABLE_TYPES = (tuple, dict, list, int, long, float, SERIALIZABLE_TYPES = (tuple, dict, set, list, int, long, float,
basestring, type(None), bool) basestring, type(None), bool)
def loop(d): def loop(d):
newd = dict() newd = dict()