From b47d95853b86f28a6da918473ade06f801daaed5 Mon Sep 17 00:00:00 2001 From: Aaron Traas Date: Sun, 16 Jul 2017 07:16:40 -0400 Subject: [PATCH] Fixed YAML coverage generator in python3 --- tests/coverage_dungeon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/coverage_dungeon.py b/tests/coverage_dungeon.py index a9ea285..b5afa08 100755 --- 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: -- 2.31.1