diff --git a/contrib/mklog.py b/contrib/mklog.py index bf51e56337e..a70536a6849 100755 --- a/contrib/mklog.py +++ b/contrib/mklog.py @@ -133,6 +133,9 @@ def generate_changelog(data, no_functions=False, fill_pr_titles=False): diff = PatchSet(data) for file in diff: + # skip files that can't be parsed + if file.path == '/dev/null': + continue changelog = find_changelog(file.path) if changelog not in changelogs: changelogs[changelog] = []