Projet

Général

Profil

0001-ctl-accept-non-string-variables-during-hobo-deploy-3.patch

Frédéric Péters, 20 novembre 2019 18:44

Télécharger (883 octets)

Voir les différences:

Subject: [PATCH] ctl: accept non-string variables during hobo deploy (#37833)

 wcs/ctl/check_hobos.py | 2 ++
 1 file changed, 2 insertions(+)
wcs/ctl/check_hobos.py
434 434
                config.add_section('variables')
435 435
            for key, value in variables.items():
436 436
                key = force_str(key)
437
                if not isinstance(value, six.string_types):
438
                    value = str(value)
437 439
                value = force_str(value)
438 440
                config.set('variables', key, value)
439 441

  
440
-