diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-01-24 09:24:36 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-01-24 09:24:36 -0500 |
commit | c1bfa7352368b63f3a9b30c02f242408d07a7ab2 (patch) | |
tree | 171578bc73148123b76ce8a936f5856493236dad /coverage/debug.py | |
parent | 7b22a67863996bc00248645c69dd3f37ef1a8926 (diff) | |
download | python-coveragepy-git-c1bfa7352368b63f3a9b30c02f242408d07a7ab2.tar.gz |
info_formatter shouldn't assume it gets a list
Diffstat (limited to 'coverage/debug.py')
-rw-r--r-- | coverage/debug.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/coverage/debug.py b/coverage/debug.py index 6e7af242..c441dffd 100644 --- a/coverage/debug.py +++ b/coverage/debug.py @@ -41,6 +41,7 @@ def info_formatter(info): nicely formatted, ready to print. """ + info = list(info) label_len = max(len(l) for l, _d in info) for label, data in info: if data == []: |