From dd1d69ad82da6106a67b7501b768807646b8015c Mon Sep 17 00:00:00 2001 From: Aaron Traas Date: Mon, 3 Dec 2018 13:48:00 -0500 Subject: [PATCH] Fix for change in list handling behavior in Python 3 --- 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 365995c..97e642d 100755 --- 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) -- 2.31.1