We were asked to open output file for append rather then write.

This commit is contained in:
Dan Walsh 2013-10-09 17:13:36 -04:00 committed by Stephen Smalley
parent 69129b4983
commit f7d40d920c

View file

@ -329,7 +329,7 @@ class AuditToPolicy:
g.set_module_name(self.__options.module)
if self.__options.output:
fd = open(self.__options.output, "w")
fd = open(self.__options.output, "a")
else:
fd = sys.stdout
writer.write(g.get_module(), fd)