X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=buildscripts%2Fgit-update-changelog.py;h=465e407ce1db46d73091003d762fa334fc7d965f;hb=45e73c21395bfa26f928c216fc6ee72fc9fa68d9;hp=e3bc06384fcc7bacadfd4c63686b9fdfea063702;hpb=82c6e5889b1c3f79b818de896904bb50a399580b;p=lilypond.git diff --git a/buildscripts/git-update-changelog.py b/buildscripts/git-update-changelog.py index e3bc06384f..465e407ce1 100644 --- a/buildscripts/git-update-changelog.py +++ b/buildscripts/git-update-changelog.py @@ -224,13 +224,13 @@ Run this file from the CVS directory, with commits from the repository in --git- try: previously_done = dict((c, 1) for c in open ('.git-commits-done').read ().split ('\n')) - except OSError: + except IOError: previously_done = {} - commits = [c for c in commits if not previously_done.has_key (c.committish)] commits = [c for c in commits if not previously_done.has_key (c.committish)] commits = sorted (commits, cmp=Commit.compare) + system ('cvs up') file_adddel = [] collated_log = ''