From 68f62070ed2c03b8532a0ee714e537abd72269aa Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Mon, 30 Oct 2006 17:49:09 +0100 Subject: [PATCH] only prepend header if one patch was successful. --- buildscripts/git-update-changelog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildscripts/git-update-changelog.py b/buildscripts/git-update-changelog.py index 15c35e9c31..029717dc9a 100644 --- a/buildscripts/git-update-changelog.py +++ b/buildscripts/git-update-changelog.py @@ -180,7 +180,8 @@ Run this file from the CVS directory, with --git-dir if op == 'add': system ('cvs add %(f)s' % locals ()) - new_log = header (last_commit) + new_log + '\n' + if last_commit: + new_log = header (last_commit) + new_log + '\n' log = new_log + log -- 2.39.5