Show More
@@ -65,7 +65,7 b' def encodevalueinheaders(value, header, ' | |||||
65 | class _multifile: |
|
65 | class _multifile: | |
66 | def __init__(self, *fileobjs): |
|
66 | def __init__(self, *fileobjs): | |
67 | for f in fileobjs: |
|
67 | for f in fileobjs: | |
68 |
if not util.safehasattr(f, |
|
68 | if not util.safehasattr(f, 'length'): | |
69 | raise ValueError( |
|
69 | raise ValueError( | |
70 | b'_multifile only supports file objects that ' |
|
70 | b'_multifile only supports file objects that ' | |
71 | b'have a length but this one does not:', |
|
71 | b'have a length but this one does not:', |
General Comments 0
You need to be logged in to leave comments.
Login now