diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-08-05 12:46:20 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-07 14:42:34 +0200 |
commit | 48241422c0b40cf012232b618692f428dfc92be1 (patch) | |
tree | 5cfb170588002bcdb3b6cfdb4ebabe07adb5da4c | |
parent | a3ba927a30580c6ce2732613296d167698cec0fe (diff) | |
download | jenkins.debian.net-48241422c0b40cf012232b618692f428dfc92be1.tar.xz |
reproducible: remote_scheduler: remove redundant default in argparse definitions
action="store_true" implies default=False
-rwxr-xr-x | bin/reproducible_remote_scheduler.py | 4 |
1 files changed, 2 insertions, 2 deletions
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.') |