Mercurial > hg
comparison hgext/zeroconf/Zeroconf.py @ 36412:03eff66adb3b
acl: replace bare getpass.getuser() by platform function
Follows up dbadf28d4db0. bytestr() shouldn't be applied here because getuser()
isn't guaranteed to be all in ASCII.
This change means GetUserNameA() is used on Windows, but that's probably
better than trying to get the current user name in UNIX way.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 25 Feb 2018 11:13:01 +0900 |
parents | 31451f3f4b56 |
children | 876494fd967d |
comparison
equal
deleted
inserted
replaced
36411:38f480502043 | 36412:03eff66adb3b |
---|