* src/GenericFilter.py (HasTextMatchingSubstringOf): Minor.

* src/plugins/FilterEditor.py (EditRule:__init__): Typo.
* ChangeLog.old: Add to CVS the pre-2005 ChangeLog; Split off current.


svn: r4195
This commit is contained in:
Alex Roitman
2005-03-16 16:38:20 +00:00
parent b02ca6f638
commit cd0ff124c2
4 changed files with 8358 additions and 4 deletions

View File

@@ -1948,10 +1948,10 @@ class HasTextMatchingSubstringOf(Rule):
for handle in place_list:
self.place_map[handle] = 1
def match_object(self,object):
def match_object(self,obj):
if self.regexp_match:
return object.matches_regexp(self.list[0],self.case_sensitive)
return object.matches_string(self.list[0],self.case_sensitive)
return obj.matches_regexp(self.list[0],self.case_sensitive)
return obj.matches_string(self.list[0],self.case_sensitive)
#-------------------------------------------------------------------------
# "HasTextMatchingRegexOf"