comparison contrib/hgweb.fcgi @ 30820:6a70cf94d1b5

py3: replace pycompat.getenv with encoding.environ.get pycompat.getenv returns os.getenvb on py3 which is not available on Windows. This patch replaces them with encoding.environ.get and checks to ensure no new instances of os.getenv or os.setenv are introduced.
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 15 Jan 2017 13:17:05 +0530
parents 85cba926cb59
children 99e231afc29c
comparison
equal deleted inserted replaced
30819:897726622877 30820:6a70cf94d1b5