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: try:
user = pwd.getpwuid(uid)[0] user = pwd.getpwuid(uid)[0]
except KeyError: except KeyError:
#print('unknown user')
user = 'UID' + str(uid) user = 'UID' + str(uid)
try: try:
group = grp.getgrgid(gid)[0] group = grp.getgrgid(gid)[0]
except KeyError: except KeyError:
#print('unknown group')
group = 'GID' + str(gid) group = 'GID' + str(gid)
return (user, group) return (user, group)