ctl: accept non-string variables during hobo deploy (#37833)

This commit is contained in:
Frédéric Péters 2019-11-20 18:43:32 +01:00
parent 14c43d7fbc
commit 066824a03d
1 changed files with 2 additions and 0 deletions

View File

@ -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)