]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
only the last two are fine
authorHolger Levsen <holger@layer-acht.org>
Thu, 6 Sep 2012 16:44:53 +0000 (18:44 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 6 Sep 2012 16:44:53 +0000 (18:44 +0200)
debian_build.py

index 63ac66638a35110f9f158a03c1a316051cc1a53e..6c2a8aedaac53cd55bdd092e7220303aa452330d 100755 (executable)
@@ -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