From 1fc8b5604778c46a8f867827077034f4660b74f2 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Fri, 23 Apr 2021 12:35:43 +0200 Subject: 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 --- mdbp/sbuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdbp/sbuild.py') 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", ] -- cgit v1.2.3