Mercurial > hg
comparison hgext/blackbox.py @ 34972:375577785f49
py3: handle keyword arguments in hgext/blackbox.py
Differential Revision: https://phab.mercurial-scm.org/D1297
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 22 Oct 2017 23:52:47 +0530 |
parents | 0b46440b1b45 |
children | de598e84c244 |
comparison
equal
deleted
inserted
replaced
34971:38637dd39cfd | 34972:375577785f49 |
---|---|
224 ''' | 224 ''' |
225 | 225 |
226 if not repo.vfs.exists('blackbox.log'): | 226 if not repo.vfs.exists('blackbox.log'): |
227 return | 227 return |
228 | 228 |
229 limit = opts.get('limit') | 229 limit = opts.get(r'limit') |
230 fp = repo.vfs('blackbox.log', 'r') | 230 fp = repo.vfs('blackbox.log', 'r') |
231 lines = fp.read().split('\n') | 231 lines = fp.read().split('\n') |
232 | 232 |
233 count = 0 | 233 count = 0 |
234 output = [] | 234 output = [] |