Show More
@@ -1019,7 +1019,8 b' class bundlepart(object):' | |||
|
1019 | 1019 | msg.append(')') |
|
1020 | 1020 | if not self.data: |
|
1021 | 1021 | msg.append(' empty payload') |
|
1022 |
elif util.safehasattr(self.data, 'next') |
|
|
1022 | elif (util.safehasattr(self.data, 'next') | |
|
1023 | or util.safehasattr(self.data, '__next__')): | |
|
1023 | 1024 | msg.append(' streamed payload') |
|
1024 | 1025 | else: |
|
1025 | 1026 | msg.append(' %i bytes payload' % len(self.data)) |
General Comments 0
You need to be logged in to leave comments.
Login now