##// END OF EJS Templates
py3: make posix.getuser return a bytes
Pulkit Goyal -
r32129:f0ea0f64 default
parent child Browse files
Show More
@@ -494,7 +494,7 def statfiles(files):
494
494
495 def getuser():
495 def getuser():
496 '''return name of current user'''
496 '''return name of current user'''
497 return getpass.getuser()
497 return pycompat.fsencode(getpass.getuser())
498
498
499 def username(uid=None):
499 def username(uid=None):
500 """Return the name of the user with the given uid.
500 """Return the name of the user with the given uid.
General Comments 0
You need to be logged in to leave comments. Login now