1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

removed print from debug code of file module

This commit is contained in:
Derek Carter 2012-06-29 21:38:31 -04:00
parent 82832021e8
commit a548769792

View file

@ -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)