remove UID/GID from output

reviewable/pr18780/r1
Derek Carter 13 years ago
parent 11a853377e
commit 031af2c0a9

@ -187,11 +187,11 @@ def user_and_group(filename):
try:
user = pwd.getpwuid(uid)[0]
except KeyError:
user = 'UID' + str(uid)
user = str(uid)
try:
group = grp.getgrgid(gid)[0]
except KeyError:
group = 'GID' + str(gid)
group = str(gid)
return (user, group)
def set_context_if_different(path, context, changed):

Loading…
Cancel
Save