log.mixins: remove extermporaneous .record

This commit is contained in:
Justin Findlay 2016-03-15 16:49:54 -06:00
parent 0cc1d5db03
commit 9f9c694654

View file

@ -120,7 +120,7 @@ class ExcInfoOnLogLevelFormatMixIn(object):
# We also use replace for when there are multiple
# encodings, e.g. UTF-8 for the filesystem and latin-1
# for a script. See issue 13232.
formatted_record += record.record.exc_info_on_loglevel_formatted.decode(sys.getfilesystemencoding(),
'replace')
formatted_record += record.exc_info_on_loglevel_formatted.decode(sys.getfilesystemencoding(),
'replace')
return formatted_record