Revision 24903c7d

b/kamaki/cli/history.py
51 51
        return True
52 52

  
53 53
    def get(self, match_terms=None, limit=0):
54
        limit = int(limit) or 0
54
        limit = int(limit or 0)
55 55
        with codecs.open(self.filepath, mode='r', encoding='utf-8') as f:
56 56
            result = [u'%s.  \t%s' % (
57 57
                i + 1, line) for i, line in enumerate(f.readlines())

Also available in: Unified diff