summaryrefslogtreecommitdiff
path: root/mdbp
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2021-05-27 11:59:12 +0200
committerHelmut Grohne <helmut@subdivi.de>2021-05-27 11:59:12 +0200
commit33bad0ca60d61b4735c3caad7ece923ac2da2b9c (patch)
treef5ff3a0153f8547899904421efbdae9ab9cb9b5e /mdbp
parent69fdfcdda423b55c7251e4d46e82563cda98a63d (diff)
downloadmdbp-33bad0ca60d61b4735c3caad7ece923ac2da2b9c.tar.gz
pbuilder: allow missing .lintian in json
Fixes: 65431c5ef882 ("pbuilder: support running lintian")
Diffstat (limited to 'mdbp')
-rw-r--r--mdbp/pbuilder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdbp/pbuilder.py b/mdbp/pbuilder.py
index 269b220..c2df394 100644
--- a/mdbp/pbuilder.py
+++ b/mdbp/pbuilder.py
@@ -70,7 +70,7 @@ apt-get update
%s dist-upgrade
""" % shlex.join(apt_get))
hook.chmod(0o755)
- if build["lintian"].get("run", False):
+ if build.get("lintian", {}).get("run", False):
hook = hookdir / "B90lintian"
hook.write_text("""#!/bin/sh
set -e