]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Closes #13859: Replaced reference to StandardError with reference to Exception. Thank...
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Wed, 25 Jan 2012 17:41:13 +0000 (17:41 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Wed, 25 Jan 2012 17:41:13 +0000 (17:41 +0000)
Lib/logging/__init__.py

index 5f73ec22550de168b2b5b46cfc22cea8572837b3..3faad4f335fda884baf7b4519ac04a9823e3e9fa 100644 (file)
@@ -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()