equal
deleted
inserted
replaced
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), |