From: Volker Lendecke Date: Fri, 14 Jun 2019 12:55:03 +0000 (+0200) Subject: autobuild: Fix autobuild for python3 X-Git-Tag: ldb-2.0.5~378 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c9eb428d59145cadd6baa54c3f31e69e149f7ff;p=thirdparty%2Fsamba.git autobuild: Fix autobuild for python3 "keys()" in python3 returns an unmodifiable view object. Two lines down we might want to modify it, which python3 does not allow. Signed-off-by: Volker Lendecke Reviewed-by: Noel Power Reviewed-by: Andreas Schneider --- diff --git a/script/autobuild.py b/script/autobuild.py index 13dd57987c4..b62bea25d4d 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -141,7 +141,7 @@ builddirs = { "pidl": "pidl" } -defaulttasks = builddirs.keys() +defaulttasks = list(builddirs.keys()) if os.environ.get("AUTOBUILD_SKIP_SAMBA_O3", "0") == "1": defaulttasks.remove("samba-o3")