From 066824a03d6ef22bc553b44429938cf838d3c967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 20 Nov 2019 18:43:32 +0100 Subject: [PATCH] ctl: accept non-string variables during hobo deploy (#37833) --- wcs/ctl/check_hobos.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcs/ctl/check_hobos.py b/wcs/ctl/check_hobos.py index 5dab3e615..8cef45a15 100644 --- a/wcs/ctl/check_hobos.py +++ b/wcs/ctl/check_hobos.py @@ -434,6 +434,8 @@ class CmdCheckHobos(Command): config.add_section('variables') for key, value in variables.items(): key = force_str(key) + if not isinstance(value, six.string_types): + value = str(value) value = force_str(value) config.set('variables', key, value)