Fixing error return to be consistent with tuple return at the end of the method.

This commit is contained in:
Stephen Huenneke
2013-07-29 13:31:06 -07:00
parent 9473f15909
commit 8d9d9fb064
+1 -1
View File
@@ -93,7 +93,7 @@ class RequestEncodingMixin(object):
"""
if (not files) or isinstance(data, str):
return None
return (None, None)
new_fields = []
fields = to_key_val_list(data or {})