diff hgext/convert/cvs.py @ 30638:1c5cbf28f007

py3: replace os.environ with encoding.environ (part 5 of 5)
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 18 Dec 2016 02:08:59 +0530
parents 20a42325fdef
children 8860100908eb
line wrap: on
line diff
--- a/hgext/convert/cvs.py	Sun Dec 18 02:06:00 2016 +0530
+++ b/hgext/convert/cvs.py	Sun Dec 18 02:08:59 2016 +0530
@@ -189,7 +189,7 @@
 
         if conntype != "pserver":
             if conntype == "rsh":
-                rsh = os.environ.get("CVS_RSH") or "ssh"
+                rsh = encoding.environ.get("CVS_RSH") or "ssh"
                 if user:
                     cmd = [rsh, '-l', user, host] + cmd
                 else: