diff mercurial/config.py @ 39643:47ac5d93d708

windows: open registry keys using unicode names Python3 complained it must be str. While here, use a context manager to close the key- it wouldn't wrap at 80 characters the old way, and would have had to move anyway.
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 13 Sep 2018 20:54:53 -0400
parents 48378d0e9479
children 4ad002b2584d
line wrap: on
line diff