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

login
register
mail settings
Submitter phabricator
Date Nov. 4, 2017, 7:52 a.m.
Message ID <f7384749b618e8549ad25c3bcaff20c7@localhost.localdomain>
Download mbox | patch
Permalink /patch/25390/
State Not Applicable
Headers show

Comments

phabricator - Nov. 4, 2017, 7:52 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG375577785f49: py3: handle keyword arguments in hgext/blackbox.py (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1297?vs=3234&id=3272

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

AFFECTED FILES
  hgext/blackbox.py

CHANGE DETAILS




To: pulkit, #hg-reviewers, yuja
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')