Remove redundant section in log setup

This commit is contained in:
rallytime 2018-04-05 15:09:48 -04:00
parent 177c686b52
commit 102e966512
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -338,13 +338,6 @@ class SaltLoggingClass(six.with_metaclass(LoggingMixInMeta, LOGGING_LOGGER_CLASS
# If nothing else is in extra, make it None
extra = None
salt_system_encoding = __salt_system_encoding__
if salt_system_encoding == 'ascii':
# Encoding detection most likely failed, let's use the utf-8
# value which we defaulted before __salt_system_encoding__ was
# implemented
salt_system_encoding = 'utf-8'
# Let's try to make every logging message unicode
salt_system_encoding = __salt_system_encoding__
if salt_system_encoding == 'ascii':