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:
parent
82832021e8
commit
a548769792
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