Merge pull request #45985 from garethgreenaway/2017_7_fixing_mac_tests_again

[2017.7] Backport #45894 - Missing `format` in the call to write.
This commit is contained in:
Nicole Thomas 2018-02-12 15:22:30 -05:00 committed by GitHub
commit efcbfa868c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -179,7 +179,7 @@ if sys.version_info < (3, 2):
self.queue.put_nowait(record)
except queue.Full:
sys.stderr.write('[WARNING ] Message queue is full, '
'unable to write "{0}" to log', record
'unable to write "{0}" to log'.format(record)
)
def prepare(self, record):