diff options
Diffstat (limited to 'python/subunit/v2.py')
| -rw-r--r-- | python/subunit/v2.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/subunit/v2.py b/python/subunit/v2.py index 254617c..7f4842e 100644 --- a/python/subunit/v2.py +++ b/python/subunit/v2.py @@ -223,6 +223,8 @@ class StreamResultToBytes(object): offset = 0 while offset < datalen: written = self.output_stream.write(view[offset:]) + if written is None: + break offset += written else: self.output_stream.write(data) |
