summaryrefslogtreecommitdiff
path: root/nose/config.py
diff options
context:
space:
mode:
authorJason Pellerin <jpellerin@gmail.com>2008-06-06 02:34:25 +0000
committerJason Pellerin <jpellerin@gmail.com>2008-06-06 02:34:25 +0000
commit5d2bd983da57f091d9337314a45ee8c49297dc22 (patch)
treeeac29cc48f304f79f1ebcf900df76f501676c206 /nose/config.py
parent78b8d93eb22442db4427324f97bade1fe0ac9ff4 (diff)
downloadnose-5d2bd983da57f091d9337314a45ee8c49297dc22.tar.gz
Merged ticket-148 branch: added logcapture plugin. Bumped version to 0.11
Diffstat (limited to 'nose/config.py')
-rw-r--r--nose/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nose/config.py b/nose/config.py
index 738ef48..e4f6712 100644
--- a/nose/config.py
+++ b/nose/config.py
@@ -317,7 +317,7 @@ class Config(object):
# only add our default handler if there isn't already one there
# this avoids annoying duplicate log messages.
- if not logger.handlers:
+ if handler not in logger.handlers:
logger.addHandler(handler)
# default level