#2700 #2490 do not translate argument on custom_filter.xml

svn: r11975
This commit is contained in:
Jérôme Rapinat 2009-02-12 18:40:00 +00:00
parent f4ac86eff1
commit 91b2861fc9

View File

@ -48,9 +48,9 @@ class HasReferenceCountBase(Rule):
def prepare(self, db): def prepare(self, db):
# things we want to do just once, not for every handle # things we want to do just once, not for every handle
if self.list[0] == _('lesser than'): if self.list[0] == 'lesser than':
self.count_type = 0 self.count_type = 0
elif self.list[0] == _('greater than'): elif self.list[0] == 'greater than':
self.count_type = 2 self.count_type = 2
else: else:
self.count_type = 1 # "equal to" self.count_type = 1 # "equal to"