From: Aaron Traas Date: Mon, 3 Dec 2018 18:48:00 +0000 (-0500) Subject: Fix for change in list handling behavior in Python 3 X-Git-Tag: 1.7~3 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=dd1d69ad82da6106a67b7501b768807646b8015c;p=open-adventure.git Fix for change in list handling behavior in Python 3 --- 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)