mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
removed print from debug code of file module
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user