]> git.donarmstrong.com Git - lilypond.git/commitdiff
also barf if file doesn't exist.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 5 Nov 2006 23:33:55 +0000 (00:33 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 5 Nov 2006 23:33:55 +0000 (00:33 +0100)
buildscripts/git-update-changelog.py

index 35dd2e6c7538795821ed1a6abc41706578e9bead..e3bc06384fcc7bacadfd4c63686b9fdfea063702 100644 (file)
@@ -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: