|
@@ -64,7 +64,7 @@ prev_mode = None
|
|
|
current_model = None
|
|
|
|
|
|
def _check_value(value):
|
|
|
- if not isinstance(value, [int, long, float, str, unicode, bool])
|
|
|
+ if not isinstance(value, [int, long, float, str, unicode, bool]):
|
|
|
raise UnsupportedValue("%s : %s" % (value, str(type(value))))
|
|
|
|
|
|
def _dict_to_list(python_dict):
|