Dirk Mueller 2011-05-20 09:10:47 +00:00 committed by Git OBS Bridge
parent 2e4e338fbc
commit f659362342

View File

@ -72,7 +72,7 @@ Index: Config.py
_filters_re = '(?:' + _filters[0] + ')'
for idx in range(1, len(_filters)):
@@ -162,7 +192,24 @@ def isFiltered(s):
@@ -162,9 +192,27 @@ def isFiltered(s):
_filters_re = _filters_re + '|(?:' + _filters[idx] +')'
_filters_re = re.compile(_filters_re)
@ -89,11 +89,15 @@ Index: Config.py
+ _filters_except_re = re.compile(_filters_except_re)
+
if not no_exception:
- if _filters_re.search(s):
+
+ if _filters_non_except_re and _filters_non_except_re.search(s):
+ return True
return True
+ if _filters_except_re and _filters_except_re.search(s):
+ return False
if _filters_re.search(s):
return True
+ if _filters_re and _filters_re.search(s):
+ return True
+
return False
# Config.py ends here