diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2020-11-20 10:04:37 +0100 |
---|---|---|
committer | Anders Roxell <anders.roxell@linaro.org> | 2020-11-20 10:04:37 +0100 |
commit | b1fba703ae97492c3d0b53087b73923426858817 (patch) | |
tree | 0fccb3344baae2b5c1401bf24d6eef5957ad96c5 | |
parent | 877d83754e86462c67b9a439ef3aa05ec16fdddd (diff) |
squad_client: commands: submit: metadata: allow more types
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rw-r--r-- | squad_client/commands/submit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/squad_client/commands/submit.py b/squad_client/commands/submit.py index 4bc6178..8a9e421 100644 --- a/squad_client/commands/submit.py +++ b/squad_client/commands/submit.py @@ -209,7 +209,7 @@ class SubmitCommand(SquadClientCommand): if type(key) is not str: logger.error("Non-string key detected") return False - if type(value) not in [str, dict]: + if type(value) not in [str, dict, int, list]: logger.error("Incompatible metadata detected") return False |