py3: handle keyword arguments in hgext/blackbox.py
authorPulkit Goyal <7895pulkit@gmail.com>
Sun, 22 Oct 2017 23:52:47 +0530
changeset 34972 375577785f49
parent 34971 38637dd39cfd
child 34973 11a372d80496
py3: handle keyword arguments in hgext/blackbox.py Differential Revision: https://phab.mercurial-scm.org/D1297
hgext/blackbox.py
--- a/hgext/blackbox.py	Sun Oct 22 23:52:22 2017 +0530
+++ b/hgext/blackbox.py	Sun Oct 22 23:52:47 2017 +0530
@@ -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')