From d0b0b3f5b07d1d56b8692888bc1131de117f9603 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 11 2017 06:55:39 +0000 Subject: flake8 fixes on pagure-admin Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/cli/admin.py b/pagure/cli/admin.py index 5411d77..886b635 100644 --- a/pagure/cli/admin.py +++ b/pagure/cli/admin.py @@ -179,9 +179,10 @@ def _parser_read_only(subparser): local_parser.add_argument( '--ro', help="Read-Only status to set (has to be: true or false), do not " - "specify to get the current status") + "specify to get the current status") local_parser.set_defaults(func=do_read_only) + def parse_arguments(): """ Set-up the argument parsing. """ parser = argparse.ArgumentParser( @@ -478,7 +479,7 @@ def do_update_watch_status(args): if args.status is None: print('The watch status can be one of the following: ') for lvl in WATCH: - print('%s: %s' % (lcl, WATCH[lvl])) + print('%s: %s' % (lvl, WATCH[lvl])) args.status = _get_input('Status:') # Validate the status