[Qa-jenkins-scm] [jenkins.debian.net] 01/04: reproducible: remote_scheduler: remove redundant default in argparse definitions
Holger Levsen
holger at moszumanska.debian.org
Fri Aug 7 12:45:09 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 48241422c0b40cf012232b618692f428dfc92be1
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Wed Aug 5 12:46:20 2015 +0000
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(-)
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index 28417c6..17e03fd 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.')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list