diff hgext/blackbox.py @ 35027: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
line wrap: on
line diff
--- 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')