diff --git a/utils/filediff.py b/utils/filediff.py index a7ffd0df..a75af9d0 100644 --- a/utils/filediff.py +++ b/utils/filediff.py @@ -34,7 +34,9 @@ def main(args): # get files missing in source sys.stderr.write("getting files missing in source\n") - for rpath, fpath in targettree.items(): + for rpath in sorted(targettree.keys()): + fpath = targettree[rpath] + targetfile = fpath try: sourcefile = sourcetree[rpath]