comparison mercurial/lock.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 ead71b15efd5
children 2372284d9457
comparison
equal deleted inserted replaced
39642:a407f9009392 39643:47ac5d93d708