summaryrefslogtreecommitdiff
path: root/nose/plugins/logcapture.py
diff options
context:
space:
mode:
Diffstat (limited to 'nose/plugins/logcapture.py')
-rw-r--r--nose/plugins/logcapture.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nose/plugins/logcapture.py b/nose/plugins/logcapture.py
index 30b4a96..101b335 100644
--- a/nose/plugins/logcapture.py
+++ b/nose/plugins/logcapture.py
@@ -85,7 +85,8 @@ class MyMemoryHandler(Handler):
def truncate(self):
self.buffer = []
def filter(self, record):
- return self.filterset.allow(record.name)
+ if self.filterset.allow(record.name):
+ return Handler.filter(self, record)
def __getstate__(self):
state = self.__dict__.copy()
del state['lock']