Need to delete all managed objects before readding them

This commit is contained in:
Dan Walsh 2013-10-24 16:05:11 -04:00 committed by Stephen Smalley
parent 4f63201788
commit cc131892c7

View File

@ -667,8 +667,9 @@ def setupDontauditParser(subparsers):
def handleExport(args):
manageditems=[ "boolean", "login", "interface", "user", "port", "node", "fcontext", "module"]
for i in manageditems:
OBJECT = object_dict[i]()
print "%s -D" % i
for i in manageditems:
OBJECT = object_dict[i]()
for c in OBJECT.customized():
print "%s %s" % (i, str(c))