From 031af2c0a902f7324a39a1b39b5f0c2d18f1292c Mon Sep 17 00:00:00 2001 From: Derek Carter Date: Sun, 1 Jul 2012 17:38:17 -0400 Subject: [PATCH] remove UID/GID from output --- file | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/file b/file index 337fa15c007..2575c57c39a 100755 --- a/file +++ b/file @@ -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):