* 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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user