diff mercurial/ui.py @ 30642:344e68882cd3

py3: replace os.environ with encoding.environ (part 4 of 5)
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 18 Dec 2016 02:06:00 +0530
parents 201b44c8875c
children 16b5df5792a8
line wrap: on
line diff
--- a/mercurial/ui.py	Sun Dec 18 01:54:36 2016 +0530
+++ b/mercurial/ui.py	Sun Dec 18 02:06:00 2016 +0530
@@ -143,7 +143,7 @@
             self.fin = util.stdin
 
             # shared read-only environment
-            self.environ = os.environ
+            self.environ = encoding.environ
 
             self.httppasswordmgrdb = urlreq.httppasswordmgrwithdefaultrealm()