From a50c28407687b8baf1ea12f4adbf2516223a12a2 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Wed, 25 Jan 2012 17:41:13 +0000 Subject: [PATCH] Closes #13859: Replaced reference to StandardError with reference to Exception. Thanks to Matt Joiner for spotting this and submitting a patch. --- Lib/logging/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index 5f73ec22550..3faad4f335f 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -294,7 +294,7 @@ class LogRecord(object): # for an example try: self.processName = mp.current_process().name - except StandardError: + except Exception: pass if logProcesses and hasattr(os, 'getpid'): self.process = os.getpid()