]> git.xonotic.org Git - xonotic/xonotic.wiki.git/commitdiff
report unreachable files in sorted order
authorMartin Taibr <taibr.martin@gmail.com>
Thu, 6 Apr 2017 10:25:00 +0000 (12:25 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Thu, 6 Apr 2017 10:25:30 +0000 (12:25 +0200)
assets/check-and-fix.py

index 2528d04ef3904daf2b5d3a1f0c70500268fd69b1..7218b9f6a81c7c4a48132ad64a510df4622b973c 100755 (executable)
@@ -277,7 +277,7 @@ def find_unlinked(all_paths: List[str]):
 
     walk_links(canonical_to_real, is_linked, "Home.md")
 
-    for path, linked in is_linked.items():
+    for path, linked in sorted(is_linked.items()):
         if not linked:
             print("not reachable from Home: {}".format(path))