]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
strip newline when recreating (master) changelogs. (Closes: #DEVINF-350)
authorHolger Levsen <holger@layer-acht.org>
Wed, 27 Mar 2013 12:10:55 +0000 (13:10 +0100)
committerHolger Levsen <holger@layer-acht.org>
Wed, 27 Mar 2013 12:10:55 +0000 (13:10 +0100)
debian_build.py

index 1baade6c2cadb0b9772931f0d0bbe726d24b6302..9ca8baac7b45ccfe21538e53e89557a12a599145 100755 (executable)
@@ -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!