policycoreutils/policycoreutils-rhat.patch

24 lines
876 B
Diff

diff --exclude-from=exclude -N -u -r nsapolicycoreutils/scripts/genhomedircon policycoreutils-1.27.31/scripts/genhomedircon
--- nsapolicycoreutils/scripts/genhomedircon 2005-12-01 14:18:40.000000000 -0500
+++ policycoreutils-1.27.31/scripts/genhomedircon 2005-11-30 20:19:55.000000000 -0500
@@ -133,7 +133,7 @@
if rc[0] == 0:
return rc[1]+"\n"
else:
- errorExit(string.join("sed error ", rc[1]))
+ errorExit("sed error %s" % rc[1])
def heading(self):
ret = "\n#\n#\n# User-specific file contexts, generated via %s\n" % sys.argv[0]
@@ -329,8 +329,8 @@
selconf.write()
except getopt.error, error:
- errorExit(string.join("Options Error ", error))
+ errorExit("Options Error %s " % error)
except ValueError, error:
- errorExit(string.join("ValueError ", error))
+ errorExit("ValueError %s" % error)
except IndexError, error:
errorExit("IndexError")