projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
924e95f
)
Fix Filehandler / FileHandler typo
author
Luca Bigliardi
<shammash@google.com>
Thu, 13 May 2010 15:14:08 +0000
(16:14 +0100)
committer
Luca Bigliardi
<shammash@google.com>
Thu, 13 May 2010 15:25:26 +0000
(16:25 +0100)
Fix typo spotted by pylint:
E1101:2095:LogFileHandler.handleError: Module 'logging' has no 'Filehandler' member
Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/utils.py
patch
|
blob
|
history
diff --git
a/lib/utils.py
b/lib/utils.py
index
6361621
..
4484085
100644
(file)
--- a/
lib/utils.py
+++ b/
lib/utils.py
@@
-2092,7
+2092,7
@@
class LogFileHandler(logging.FileHandler):
"""
try:
- logging.Filehandler.handleError(self, record)
+ logging.FileHandler.handleError(self, record)
except Exception:
try:
self.console.write("Cannot log message:\n%s\n" % self.format(record))