projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
058fc70
)
Fixed YAML coverage generator in python3
author
Aaron Traas
<aaron@traas.org>
Sun, 16 Jul 2017 11:16:40 +0000
(07:16 -0400)
committer
Aaron Traas
<aaron@traas.org>
Sun, 16 Jul 2017 11:53:20 +0000
(07:53 -0400)
tests/coverage_dungeon.py
patch
|
blob
|
history
diff --git
a/tests/coverage_dungeon.py
b/tests/coverage_dungeon.py
index a9ea285e9f03f4532aed34a1be334d30ea789057..b5afa08ce399f2f89fadef98c67f6e517d51bd6d 100755
(executable)
--- a/
tests/coverage_dungeon.py
+++ b/
tests/coverage_dungeon.py
@@
-219,7
+219,7
@@
if __name__ == "__main__":
category["percent"] = (category["covered"] / float(category["total"])) * 100
# render section header
- cat_keys =
category["messages"].items(
)[0][1].keys()
+ cat_keys =
list(category["messages"].items()
)[0][1].keys()
headers_html = ""
colspan = 10 - len(cat_keys)
for key in cat_keys: