From 47724a3d6bcdd628b7eb7c6c4d965325f3d668b3 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 30 Nov 2013 10:10:11 +0100 Subject: [PATCH] pep8 fixes --- nsupdate/management/commands/faults.py | 33 +++++++++++++------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/nsupdate/management/commands/faults.py b/nsupdate/management/commands/faults.py index feb71ea..c084139 100644 --- a/nsupdate/management/commands/faults.py +++ b/nsupdate/management/commands/faults.py @@ -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']