diff options
| author | Jonathan Lange <jml@canonical.com> | 2012-02-16 10:18:09 +0000 |
|---|---|---|
| committer | Jonathan Lange <jml@canonical.com> | 2012-02-16 10:18:09 +0000 |
| commit | 39cce2c4244e727c6282015c646016f847b53190 (patch) | |
| tree | 248b9a5b34c01da32393b3ddf028ac9fe7bdea6a /python/subunit | |
| parent | e77a63032cfec4f142e15cb8fb72c5ad718cfde6 (diff) | |
| download | subunit-git-39cce2c4244e727c6282015c646016f847b53190.tar.gz | |
Clean up a flake
Diffstat (limited to 'python/subunit')
| -rw-r--r-- | python/subunit/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/subunit/__init__.py b/python/subunit/__init__.py index 93092b1..8f2a9ed 100644 --- a/python/subunit/__init__.py +++ b/python/subunit/__init__.py @@ -683,8 +683,8 @@ class TestProtocolClient(testresult.TestResult): raise ValueError if error is not None: self._stream.write(self._start_simple) - content = TracebackContent(error, test) - for bytes in content.iter_bytes(): + tb_content = TracebackContent(error, test) + for bytes in tb_content.iter_bytes(): self._stream.write(bytes) elif details is not None: self._write_details(details) |
