Revision 2f302751 kamaki/cli/commands/history.py

b/kamaki/cli/commands/history.py
75 75
        if not isinstance(cmd_slice, slice):
76 76
            lines = [lines, ]
77 77
        if self['match']:
78
            lines = [l for l in lines if self._match(l, self['match'])]
78
            lines = [l for l in lines if self.history._match(l, self['match'])]
79 79
        self.print_items([l[:-1] for l in lines])
80 80

  
81 81
    def main(self, cmd_numbers=''):

Also available in: Unified diff