Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2010-08-25 19:28:49 +0400
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2010-08-25 19:29:59 +0400
commitb6467c499dad0402266cc89ff86947e2b067c40c (patch)
tree27c42bd8220caa207444b1ec0b6f985ca63d4066 /scripts
parentbd6a37183b1a4a99760945ddaf3d55237aca4f52 (diff)
Ignore removed ChangeLog files
If a ChangeLog has been removed, don't try to open the file.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/commits-to-changelog.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/commits-to-changelog.py b/scripts/commits-to-changelog.py
index 3de40bbe51a..8d30a4abe2f 100755
--- a/scripts/commits-to-changelog.py
+++ b/scripts/commits-to-changelog.py
@@ -266,6 +266,8 @@ def main ():
if entries == None:
continue
for (changelog, lines) in entries.items ():
+ if not os.path.exists (changelog_path (changelog)):
+ continue
if changelog not in touched_changelogs:
touched_changelogs [changelog] = start_changelog (changelog)
append_lines (touched_changelogs [changelog], lines)