Commit 9b727eca authored by Vinay Sajip's avatar Vinay Sajip

Closes #13859: Merged fix from 3.2 - thanks to Matt Joiner for spotting this and the patch.

parents 58161662 a50c2840
# Copyright 2001-2011 by Vinay Sajip. All Rights Reserved.
# Copyright 2001-2012 by Vinay Sajip. All Rights Reserved.
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose and without fee is hereby granted,
......@@ -288,7 +288,7 @@ class LogRecord(object):
# for an example
try:
self.processName = mp.current_process().name
except StandardError: #pragma: no cover
except Exception: #pragma: no cover
pass
if logProcesses and hasattr(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