make --dry output more consistent

This commit is contained in:
Manuel Barkhau 2018-12-21 23:48:48 +01:00
parent 785227e3c6
commit b835a5912f

View file

@ -148,7 +148,7 @@ def diff(new_version: str, file_patterns: config.PatternsByFilePath) -> str:
full_diff = ""
file_path: str
for file_path, patterns in file_patterns.items():
for file_path, patterns in sorted(file_patterns.items()):
with io.open(file_path, mode="rt", encoding="utf-8") as fh:
content = fh.read()