summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-06-14 14:55:03 +0200
committerAndreas Schneider <asn@cryptomilk.org>2019-06-18 05:34:07 +0000
commit7c9eb428d59145cadd6baa54c3f31e69e149f7ff (patch)
tree5f470e14ec233b790b1a3d333c842feb1c49a770 /script
parentfef8ec20d0f591f2e531a649108ca83c5a4fd744 (diff)
downloadsamba-7c9eb428d59145cadd6baa54c3f31e69e149f7ff.tar.gz
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 <vl@samba.org> Reviewed-by: Noel Power <npower@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/autobuild.py2
1 files changed, 1 insertions, 1 deletions
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")