Mercurial > public > mercurial-scm > hg-stable
comparison 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 |
comparison
equal
deleted
inserted
replaced
30641:f1c9fafcbf46 | 30642:344e68882cd3 |
---|---|
141 self.fout = util.stdout | 141 self.fout = util.stdout |
142 self.ferr = util.stderr | 142 self.ferr = util.stderr |
143 self.fin = util.stdin | 143 self.fin = util.stdin |
144 | 144 |
145 # shared read-only environment | 145 # shared read-only environment |
146 self.environ = os.environ | 146 self.environ = encoding.environ |
147 | 147 |
148 self.httppasswordmgrdb = urlreq.httppasswordmgrwithdefaultrealm() | 148 self.httppasswordmgrdb = urlreq.httppasswordmgrwithdefaultrealm() |
149 | 149 |
150 @classmethod | 150 @classmethod |
151 def load(cls): | 151 def load(cls): |