From: Holger Levsen Date: Mon, 14 Jan 2013 17:51:41 +0000 (+0100) Subject: fixup: correctly fail build on unknown sections X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=9a93cb347594a2eb0e30d1942ab8cadc029f4280;p=profitbricks%2Fjenkins-build-scripts.git fixup: correctly fail build on unknown sections --- diff --git a/debian_build.py b/debian_build.py index 794beee..c38dd20 100755 --- a/debian_build.py +++ b/debian_build.py @@ -381,7 +381,7 @@ if __name__ == '__main__': logger.info('Package distribution is %s' % (distribution)) section_error=False - for line in fileinput.input('debian/changelog'): + for line in fileinput.input('debian/control'): if line.lower() == 'section: unknown': logger.error('debian/control sets "section" to unknown. This is not allowed, failing...') section_error=True