From 9a93cb347594a2eb0e30d1942ab8cadc029f4280 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 14 Jan 2013 18:51:41 +0100 Subject: [PATCH] fixup: correctly fail build on unknown sections --- debian_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5