Patchwork D1297: py3: handle keyword arguments in hgext/blackbox.py

login
register
mail settings
Submitter phabricator
Date Nov. 2, 2017, 9:14 p.m.
Message ID <differential-rev-PHID-DREV-67ulkxblpsbgvszpf2k4-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/25362/
State Superseded
Headers show

Comments

phabricator - Nov. 2, 2017, 9:14 p.m.
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1297

AFFECTED FILES
  hgext/blackbox.py

CHANGE DETAILS




To: pulkit, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/hgext/blackbox.py b/hgext/blackbox.py
--- a/hgext/blackbox.py
+++ b/hgext/blackbox.py
@@ -226,7 +226,7 @@ 
     if not repo.vfs.exists('blackbox.log'):
         return
 
-    limit = opts.get('limit')
+    limit = opts.get(r'limit')
     fp = repo.vfs('blackbox.log', 'r')
     lines = fp.read().split('\n')