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:
6667ffd
)
Fix for change in list handling behavior in Python 3
author
Aaron Traas
<aaron@traas.org>
Mon, 3 Dec 2018 18:48:00 +0000
(13:48 -0500)
committer
Aaron Traas
<aaron@traas.org>
Mon, 3 Dec 2018 18:48:00 +0000
(13:48 -0500)
tests/coverage_dungeon.py
patch
|
blob
|
history
diff --git
a/tests/coverage_dungeon.py
b/tests/coverage_dungeon.py
index 365995ce644598d9178f8cd976e8a19b50a052c9..97e642daa9f154e5853cf96e3776519c7043b9ca 100755
(executable)
--- a/
tests/coverage_dungeon.py
+++ b/
tests/coverage_dungeon.py
@@
-223,7
+223,7
@@
if __name__ == "__main__":
category["percent"] = (category["covered"] / float(category["total"])) * 100
# render section header
- cat_messages =
sorted
(category["messages"].items())
+ cat_messages =
list
(category["messages"].items())
cat_keys = cat_messages[0][1].keys()
headers_html = ""
colspan = 10 - len(cat_keys)