policycoreutils: semanage: remove useless empty lines

This patch just removes some blank lines that we don't need.  Makes it
all purdy.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
This commit is contained in:
Eric Paris 2011-08-03 11:56:17 -04:00
parent 1654b964bc
commit f97e508567

View File

@ -39,7 +39,6 @@ except IOError:
__builtin__.__dict__['_'] = unicode
if __name__ == '__main__':
manageditems=[ "boolean", "login", "user", "port", "interface", "node", "fcontext"]
action = False
def set_action(option):
@ -269,6 +268,7 @@ Object-specific Options (see above):
if o == "-d" or o == "--delete":
set_action(o)
delete = True
if o == "-D" or o == "--deleteall":
set_action(o)
deleteall = True
@ -339,6 +339,7 @@ Object-specific Options (see above):
if o == "--on" or o == "-1":
value = "on"
if o == "--off" or o == "-0":
value = "off"
@ -363,7 +364,6 @@ Object-specific Options (see above):
if object == "boolean":
OBJECT = seobject.booleanRecords(store)
if object == "module":
OBJECT = seobject.moduleRecords(store)
@ -381,7 +381,6 @@ Object-specific Options (see above):
OBJECT.deleteall()
return
if extract:
for i in OBJECT.customized():
print "%s %s" % (object, str(i))
@ -487,7 +486,6 @@ Object-specific Options (see above):
else:
OBJECT.delete(target)
return
raise ValueError(_("Invalid command: semanage %s") % " ".join(argv))