pep8 fixes
This commit is contained in:
parent
7500ba363e
commit
47724a3d6b
@ -15,30 +15,31 @@ class Command(BaseCommand):
|
||||
|
||||
option_list = BaseCommand.option_list + (
|
||||
make_option('--show-server',
|
||||
action='store_true',
|
||||
dest='show_server',
|
||||
default=False,
|
||||
help='reset the server fault counters of all hosts',
|
||||
action='store_true',
|
||||
dest='show_server',
|
||||
default=False,
|
||||
help='reset the server fault counters of all hosts',
|
||||
),
|
||||
make_option('--show-client',
|
||||
action='store_true',
|
||||
dest='show_client',
|
||||
default=False,
|
||||
help='reset the server fault counters of all hosts',
|
||||
action='store_true',
|
||||
dest='show_client',
|
||||
default=False,
|
||||
help='reset the server fault counters of all hosts',
|
||||
),
|
||||
make_option('--reset-server',
|
||||
action='store_true',
|
||||
dest='reset_server',
|
||||
default=False,
|
||||
help='reset the server fault counters of all hosts',
|
||||
action='store_true',
|
||||
dest='reset_server',
|
||||
default=False,
|
||||
help='reset the server fault counters of all hosts',
|
||||
),
|
||||
make_option('--reset-client',
|
||||
action='store_true',
|
||||
dest='reset_client',
|
||||
default=False,
|
||||
help='reset the client faults counters of all hosts',
|
||||
action='store_true',
|
||||
dest='reset_client',
|
||||
default=False,
|
||||
help='reset the client faults counters of all hosts',
|
||||
),
|
||||
)
|
||||
|
||||
def handle(self, *args, **options):
|
||||
show_client = options['show_client']
|
||||
show_server = options['show_server']
|
||||
|
Loading…
x
Reference in New Issue
Block a user