From 48241422c0b40cf012232b618692f428dfc92be1 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Wed, 5 Aug 2015 12:46:20 +0000 Subject: reproducible: remote_scheduler: remove redundant default in argparse definitions action="store_true" implies default=False --- bin/reproducible_remote_scheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py index 28417c61..17e03fd4 100755 --- a/bin/reproducible_remote_scheduler.py +++ b/bin/reproducible_remote_scheduler.py @@ -22,9 +22,9 @@ parser = argparse.ArgumentParser( 'in the package list.') group = parser.add_mutually_exclusive_group() parser.add_argument('--dry-run', action='store_true') -group.add_argument('-a', '--artifacts', default=False, action='store_true', +group.add_argument('-a', '--artifacts', action='store_true', help='Save artifacts (for further offline study)') -group.add_argument('-n', '--notify', default=False, action='store_true', +group.add_argument('-n', '--notify', action='store_true', help='Notify the channel when the build finishes') parser.add_argument('--noisy', action='store_true', help='Also notify when ' + 'the build starts, linking to the build url. This disables -n.') -- cgit v1.2.3-70-g09d2