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