From: Holger Levsen Date: Thu, 6 Sep 2012 16:44:53 +0000 (+0200) Subject: only the last two are fine X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=76f9468e30feebe6f8326a65e16ea7f93c5a000a;p=profitbricks%2Fjenkins-build-scripts.git only the last two are fine --- diff --git a/debian_build.py b/debian_build.py index 63ac666..6c2a8ae 100755 --- a/debian_build.py +++ b/debian_build.py @@ -474,7 +474,7 @@ if __name__ == '__main__': for line in fileinput.input('debian/changelog'): if line.startswith(' --'): line_counter += 1 - if line_counter < 3: + if line_counter <= 2: print('debian/changelog: %s' %(line.strip())) # set pb_suite which GitBuildPackage() will turn into PB_SUITE