comparison MoinMoin/search/queryparser.py @ 2952:1bb689d96ade

search: fix breaking queryparser tests
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 30 Nov 2007 14:16:41 +0100
parents 01f05e74aa9c
children c8a3731ce61c
comparison
equal deleted inserted replaced
2951:bca1a0c997a2 2952:1bb689d96ade
121 return self._costs 121 return self._costs
122 122
123 def __unicode__(self): 123 def __unicode__(self):
124 result = '' 124 result = ''
125 for t in self._subterms: 125 for t in self._subterms:
126 result += self.operator + t 126 result += self.operator + unicode(t)
127 return u'[' + result[len(self.operator):] + u']' 127 return u'[' + result[len(self.operator):] + u']'
128 128
129 def pageFilter(self): 129 def pageFilter(self):
130 """ Return a page filtering function 130 """ Return a page filtering function
131 131