From: Holger Levsen Date: Wed, 27 Mar 2013 12:10:55 +0000 (+0100) Subject: strip newline when recreating (master) changelogs. (Closes: #DEVINF-350) X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=bda1e253083e3bd0697ecee537b7e12eebe48d2d;p=profitbricks%2Fjenkins-build-scripts.git strip newline when recreating (master) changelogs. (Closes: #DEVINF-350) --- diff --git a/debian_build.py b/debian_build.py index 1baade6..9ca8baa 100755 --- a/debian_build.py +++ b/debian_build.py @@ -471,7 +471,7 @@ if __name__ == '__main__': line_counter += 1 if line_counter == 3: print ' * Generated by jenkins build of %s' % git_helper.git_get_commit_id() - print line + print line.strip() # we need to commit here else git-buildpackage will use the existing debian/changelog... # TODO: Later we should investigate why "--ignore-new" does not work!