Commit aff0403a by Derek Carter

remove UID/GID from output

parent c532a1c9
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment