From e7531c01e89fd5fd23e07364c8bd5a84227a9b10 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 14 Jan 2013 18:59:26 +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 c38dd20..b0e954a 100755 --- a/debian_build.py +++ b/debian_build.py @@ -382,7 +382,7 @@ if __name__ == '__main__': section_error=False for line in fileinput.input('debian/control'): - if line.lower() == 'section: unknown': + if line.lower().startswith('section: unknown'): logger.error('debian/control sets "section" to unknown. This is not allowed, failing...') section_error=True if section_error: -- 2.39.5