From: Han-Wen Nienhuys Date: Sun, 5 Nov 2006 23:33:55 +0000 (+0100) Subject: also barf if file doesn't exist. X-Git-Tag: release/2.10.0-2~32^2~9 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=11e51db60bc5e0701ed76d1b48c688ae2054e675;p=lilypond.git also barf if file doesn't exist. --- diff --git a/buildscripts/git-update-changelog.py b/buildscripts/git-update-changelog.py index 35dd2e6c75..e3bc06384f 100644 --- a/buildscripts/git-update-changelog.py +++ b/buildscripts/git-update-changelog.py @@ -53,6 +53,9 @@ class Commit: if removals == []: return True + + if not os.path.exists (filename): + return False contents = open (filename).read () for r in removals: