From 42f6d7a4016709ba86da5b2674a95401981a771a Mon Sep 17 00:00:00 2001 From: Mateo Kuruk Miccino Date: Thu, 25 Feb 2021 19:45:36 -0300 Subject: [PATCH] SCons: Fix profile type. It is a string --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index ab4fe118c8..f03fb72ff3 100644 --- a/SConstruct +++ b/SConstruct @@ -95,7 +95,7 @@ env_base.SConsignFile(".sconsign{0}.dblite".format(pickle.HIGHEST_PROTOCOL)) customs = ["custom.py"] -profile = methods.get_cmdline_bool("profile", False) +profile = ARGUMENTS.get("profile", "") if profile: if os.path.isfile(profile): customs.append(profile)