removed print from debug code of file module
This commit is contained in:
parent
f5259eead3
commit
c532a1c978
1 changed files with 0 additions and 2 deletions
|
@ -187,12 +187,10 @@ def user_and_group(filename):
|
|||
try:
|
||||
user = pwd.getpwuid(uid)[0]
|
||||
except KeyError:
|
||||
#print('unknown user')
|
||||
user = 'UID' + str(uid)
|
||||
try:
|
||||
group = grp.getgrgid(gid)[0]
|
||||
except KeyError:
|
||||
#print('unknown group')
|
||||
group = 'GID' + str(gid)
|
||||
return (user, group)
|
||||
|
||||
|
|
Loading…
Reference in a new issue