Show More
@@ -494,7 +494,7 b' 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