summaryrefslogtreecommitdiff
path: root/mdbp/sbuild.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2021-04-23 12:35:43 +0200
committerHelmut Grohne <helmut@subdivi.de>2021-04-23 12:35:43 +0200
commit1fc8b5604778c46a8f867827077034f4660b74f2 (patch)
tree438fca7e2b7595b248f7925ec6ee583efdaf3d01 /mdbp/sbuild.py
parent3cf6fa1cc6e50fffbc75add3b5f55a7c91b42517 (diff)
downloadmdbp-1fc8b5604778c46a8f867827077034f4660b74f2.tar.gz
remove redundant values from schema
The bd-uninstallable-explainer value null is equivalent to skipping the option and thus dropped. The network value "undefined" is equivalent to skipping the option and thus dropped. Reported-by: David Kalnischkies <donkult@debian.org>
Diffstat (limited to 'mdbp/sbuild.py')
-rw-r--r--mdbp/sbuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdbp/sbuild.py b/mdbp/sbuild.py
index d2bf2fe..aecc037 100644
--- a/mdbp/sbuild.py
+++ b/mdbp/sbuild.py
@@ -25,7 +25,7 @@ def main() -> None:
"--no-arch-any" if build.get("type") == "all" else "--arch-any",
"--no-arch-all" if build.get("type") == "any" else "--arch-all",
"--bd-uninstallable-explainer=" +
- (build.get("bd-uninstallable-explainer") or ""),
+ build.get("bd-uninstallable-explainer", ""),
"--run-lintian" if build.get("lintian", {}).get("run") else
"--no-run-lintian",
]