##// END OF EJS Templates
safehasattr: pass attribute name as string instead of bytes...
marmoute -
r51483:1c810421 default
parent child Browse files
Show More
@@ -168,7 +168,7 b' def split(stream):'
168
168
169 mimeheaders = [b'content-type']
169 mimeheaders = [b'content-type']
170
170
171 if not util.safehasattr(stream, b'next'):
171 if not util.safehasattr(stream, 'next'):
172 # http responses, for example, have readline but not next
172 # http responses, for example, have readline but not next
173 stream = fiter(stream)
173 stream = fiter(stream)
174
174
General Comments 0
You need to be logged in to leave comments. Login now