Message178920
In response to msg178860.
When use the module logging and in the definition of the format string appear '%(funcName)s' the module crash.
(Extract):
File "/Library/Python/2.6/site-packages/logging-0.4.9.6-py2.6.egg/logging/__init__.py", line 724, in emit
msg = self.format(record)
File "/Library/Python/2.6/site-packages/logging-0.4.9.6-py2.6.egg/logging/__init__.py", line 610, in format
return fmt.format(record)
File "/Library/Python/2.6/site-packages/logging-0.4.9.6-py2.6.egg/logging/__init__.py", line 403, in format
s = self._fmt % record.__dict__
KeyError: 'funcName'
The object 'record' not contain attribute 'funcName' and line 403 (s = self._fmt % record.__dict__) crash. |
|
Date |
User |
Action |
Args |
2013-01-03 07:48:58 | amarco | set | recipients:
+ amarco, vinay.sajip, ezio.melotti, r.david.murray |
2013-01-03 07:48:58 | amarco | set | messageid: <1357199338.94.0.193447497589.issue16844@psf.upfronthosting.co.za> |
2013-01-03 07:48:58 | amarco | link | issue16844 messages |
2013-01-03 07:48:58 | amarco | create | |
|