Closes #13859: Replaced reference to StandardError with reference to Exception. Thanks to Matt Joiner for spotting this and submitting a patch.

This commit is contained in:
Vinay Sajip 2012-01-25 17:41:13 +00:00
parent 33d15f7c85
commit a50c284076

View file

@ -294,7 +294,7 @@ class LogRecord(object):
# for an example # for an example
try: try:
self.processName = mp.current_process().name self.processName = mp.current_process().name
except StandardError: except Exception:
pass pass
if logProcesses and hasattr(os, 'getpid'): if logProcesses and hasattr(os, 'getpid'):
self.process = os.getpid() self.process = os.getpid()