From 7c9eb428d59145cadd6baa54c3f31e69e149f7ff Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 14 Jun 2019 14:55:03 +0200 Subject: 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 --- script/autobuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script') 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") -- cgit v1.2.1