Show More
@@ -1070,7 +1070,8 b' class bundlepart(object):' | |||
|
1070 | 1070 | Exists to handle the different methods to provide data to a part.""" |
|
1071 | 1071 | # we only support fixed size data now. |
|
1072 | 1072 | # This will be improved in the future. |
|
1073 |
if util.safehasattr(self.data, 'next') |
|
|
1073 | if (util.safehasattr(self.data, 'next') | |
|
1074 | or util.safehasattr(self.data, '__next__')): | |
|
1074 | 1075 | buff = util.chunkbuffer(self.data) |
|
1075 | 1076 | chunk = buff.read(preferedchunksize) |
|
1076 | 1077 | while chunk: |
General Comments 0
You need to be logged in to leave comments.
Login now