pvl.syslog.filter: fix true/false/filenotfound snafu
authorTero Marttila <terom@fixme.fi>
Fri, 04 Jan 2013 21:12:18 +0200
changeset 56 ff184e09ceb9
parent 55 cbdd49b76f16
child 57 c88861dda326
pvl.syslog.filter: fix true/false/filenotfound snafu
pvl/syslog/filter.py
--- a/pvl/syslog/filter.py	Fri Jan 04 20:51:12 2013 +0200
+++ b/pvl/syslog/filter.py	Fri Jan 04 21:12:18 2013 +0200
@@ -54,7 +54,7 @@
         match = regex.match(value)
 
         if not match :
-            return None
+            return False
 
         # as match-values
         matches = match.groupdict()