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 | 7b94c24469146ec7844cd678806403db3c3ebfeb (patch) | |
| tree | 248b9a5b34c01da32393b3ddf028ac9fe7bdea6a /python/subunit | |
| parent | 407c7088c7ea48af25546102d1861295f3a9ec60 (diff) | |
| download | subunit-7b94c24469146ec7844cd678806403db3c3ebfeb.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) |
