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:
8bfbfdf
)
fix unicode literal for python 3
author
Kenneth Reitz
<me@kennethreitz.com>
Fri, 8 Jun 2012 01:58:52 +0000
(21:58 -0400)
committer
Kenneth Reitz
<me@kennethreitz.com>
Fri, 8 Jun 2012 01:58:52 +0000
(21:58 -0400)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index
c07bee0
..
7a58694
100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-786,7
+786,7
@@
class Response(object):
encoding = self.encoding
if not self.content:
- return
u''
+ return
str('')
# Fallback to auto-detected encoding.
if self.encoding is None: