Commit a50c2840 authored by Vinay Sajip's avatar Vinay Sajip

Closes #13859: Replaced reference to StandardError with reference to...

Closes #13859: Replaced reference to StandardError with reference to Exception. Thanks to Matt Joiner for spotting this and submitting a patch.
parent 33d15f7c
...@@ -294,7 +294,7 @@ class LogRecord(object): ...@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment