changeset 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 38637dd39cfd
children 11a372d80496
files hgext/blackbox.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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')