projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9473f15
)
Fixing error return to be consistent with tuple return at the end of the method.
author
Stephen Huenneke
<stephen.huenneke@gmail.com>
Mon, 29 Jul 2013 20:31:06 +0000
(13:31 -0700)
committer
Stephen Huenneke
<stephen.huenneke@gmail.com>
Mon, 29 Jul 2013 20:31:06 +0000
(13:31 -0700)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index 2439153371346f7706b075d8f72370a79de78d84..9289f3ba2609a46f841136f5dca2ce2ed664d4e8 100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-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 {})