[POS-commit] r5476 - in kiwi/trunk: .
Johan Dahlin
jdahlin at async.com.br
Wed Dec 6 16:50:43 BRST 2006
Author: jdahlin
Date: Wed Dec 6 16:50:43 2006
New Revision: 5476
Modified:
kiwi/trunk/ChangeLog
kiwi/trunk/kiwi/log.py
Log:
* kiwi/log.py (ReversedGlobalFilter.filter): Use >= instead of >
* tests/test_log.py (LogTest.testStdErr): Add tests warnings
printed on the console and to a log file.
Fixes #2984
Modified: kiwi/trunk/ChangeLog
==============================================================================
--- kiwi/trunk/ChangeLog (original)
+++ kiwi/trunk/ChangeLog Wed Dec 6 16:50:43 2006
@@ -1,3 +1,12 @@
+2006-12-06 Johan Dahlin <jdahlin at async.com.br>
+
+ * kiwi/log.py (ReversedGlobalFilter.filter): Use >= instead of >
+
+ * tests/test_log.py (LogTest.testStdErr): Add tests warnings
+ printed on the console and to a log file.
+
+ Fixes #2984
+
2006-12-05 Johan Dahlin <jdahlin at async.com.br>
* kiwi/ui/objectlist.py (ObjectList.set_visible_rows): Impl.
Modified: kiwi/trunk/kiwi/log.py
==============================================================================
--- kiwi/trunk/kiwi/log.py (original)
+++ kiwi/trunk/kiwi/log.py Wed Dec 6 16:50:43 2006
@@ -100,7 +100,7 @@
def filter(self, record):
for f, level in self.filters:
- if (record.levelno > level and
+ if (record.levelno >= level and
fnmatch.fnmatch(record.name, f)):
return True
More information about the POS-commit
mailing list