comparison mercurial/encoding.py @ 31537:c6cbe5720353

posix: use local reference to unlink We have a local reference to os.unlink in module scope, but we still used os.unlink inside functions. This changes util to use the local reference, which will pave the way for combining duplicated code in future patches.
author Ryan McElroy <rmcelroy@fb.com>
date Tue, 21 Mar 2017 06:50:28 -0700
parents 6419cd243017
children 7d2cbe11ae48
comparison
equal deleted inserted replaced
31536:48b9c9ca09b7 31537:c6cbe5720353