Merge pull request #206 from nursix/master

Add 'set' to serializable types in Query.as_dict
This commit is contained in:
mdipierro
2013-09-09 10:53:26 -07:00
+1 -1
View File
@@ -9804,7 +9804,7 @@ class Query(object):
"second":0}
"""
SERIALIZABLE_TYPES = (tuple, dict, list, int, long, float,
SERIALIZABLE_TYPES = (tuple, dict, set, list, int, long, float,
basestring, type(None), bool)
def loop(d):
newd = dict()