text-ify config warning message (#63349)

pull/63357/head
Matt Davis 5 years ago committed by GitHub
parent add74fd24b
commit b20a0f4831
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -393,7 +393,7 @@ class ConfigManager(object):
try:
temp_value = container.get(name, None)
except UnicodeEncodeError:
self.WARNINGS.add('value for config entry {0} contains invalid characters, ignoring...'.format(to_native(name)))
self.WARNINGS.add(u'value for config entry {0} contains invalid characters, ignoring...'.format(to_text(name)))
continue
if temp_value is not None: # only set if env var is defined
value = temp_value

Loading…
Cancel
Save