##// END OF EJS Templates
py3: use encoding.environ instead of os.environ...
Pulkit Goyal -
r30109:96a2278e default
parent child Browse files
Show More
@@ -753,7 +753,7 b' def rcpath():'
753 if no HGRCPATH, use default os-specific path.'''
753 if no HGRCPATH, use default os-specific path.'''
754 global _rcpath
754 global _rcpath
755 if _rcpath is None:
755 if _rcpath is None:
756 if 'HGRCPATH' in os.environ:
756 if 'HGRCPATH' in encoding.environ:
757 _rcpath = []
757 _rcpath = []
758 for p in os.environ['HGRCPATH'].split(os.pathsep):
758 for p in os.environ['HGRCPATH'].split(os.pathsep):
759 if not p:
759 if not p:
General Comments 0
You need to be logged in to leave comments. Login now