mercurial/hgweb/webutil.py
changeset 38265 41ae9b3cbfb9
parent 38244 688fbb758ba9
child 38267 fb874fc1d9b4
equal deleted inserted replaced
38264:fbb2eddea4d2 38265:41ae9b3cbfb9
   715 
   715 
   716     def getmember(self, context, mapping, key):
   716     def getmember(self, context, mapping, key):
   717         key = templateutil.unwrapvalue(context, mapping, key)
   717         key = templateutil.unwrapvalue(context, mapping, key)
   718         return self._vars.get(key)
   718         return self._vars.get(key)
   719 
   719 
       
   720     def getmin(self, context, mapping):
       
   721         raise error.ParseError(_('not comparable'))
       
   722 
       
   723     def getmax(self, context, mapping):
       
   724         raise error.ParseError(_('not comparable'))
       
   725 
   720     def itermaps(self, context):
   726     def itermaps(self, context):
   721         separator = self._start
   727         separator = self._start
   722         for key, value in sorted(self._vars.iteritems()):
   728         for key, value in sorted(self._vars.iteritems()):
   723             yield {'name': key,
   729             yield {'name': key,
   724                    'value': pycompat.bytestr(value),
   730                    'value': pycompat.bytestr(value),