hgext/logtoprocess.py
changeset 40761 691c68bc1222
parent 40760 ffd574c144d2
child 43076 2372284d9457
--- a/hgext/logtoprocess.py	Sun Nov 11 19:35:33 2018 +0900
+++ b/hgext/logtoprocess.py	Sun Nov 11 19:36:21 2018 +0900
@@ -36,9 +36,6 @@
 
 import os
 
-from mercurial import (
-    pycompat,
-)
 from mercurial.utils import (
     procutil,
 )
@@ -70,7 +67,7 @@
         }
         # keyword arguments get prefixed with OPT_ and uppercased
         env.update((b'OPT_%s' % key.upper(), value)
-                   for key, value in pycompat.byteskwargs(opts).items())
+                   for key, value in opts.items())
         fullenv = procutil.shellenviron(env)
         procutil.runbgcommand(script, fullenv, shell=True)