diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-07-05 15:11:54 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-07-05 15:11:54 +0200 |
commit | 4d222a3d3c96d54f290e2acc24fcb3d26b63f524 (patch) | |
tree | 3e917991ebd0cf83ac2ef2d1ca4ad2f974552b0f | |
parent | 5b552fabcac4c0e43a910616f9614d83a02de85b (diff) | |
download | jenkins.debian.net-4d222a3d3c96d54f290e2acc24fcb3d26b63f524.tar.xz |
reproducible: improve grammar
-rwxr-xr-x | bin/reproducible_remote_scheduler.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py index a249a535..d80aaf47 100755 --- a/bin/reproducible_remote_scheduler.py +++ b/bin/reproducible_remote_scheduler.py @@ -22,9 +22,9 @@ parser.add_argument('--dry-run', action='store_true') group.add_argument('-a', '--artifacts', default=False, action='store_true', help='Save artifacts (for further offline study)') group.add_argument('-n', '--no-notify', default=False, action='store_true', - help='Do not notify the channel when the build finish') + help='Do not notify the channel when the build finishes') parser.add_argument('--noisy', action='store_true', help='Also notify when ' + - 'the build start, linking the build url. This disables -n.') + 'the build starts, linking to the build url. This disables -n.') parser.add_argument('-m', '--message', default='', nargs='+', help='A text to be sent to the IRC channel when notifying' + ' about the scheduling') @@ -35,9 +35,9 @@ parser.add_argument('-r', '--status', required=False, parser.add_argument('-i', '--issue', required=False, help='Schedule all packages with this issue') parser.add_argument('-t', '--after', required=False, - help='Schedule all packages build after this date') + help='Schedule all packages built after this date') parser.add_argument('-b', '--before', required=False, - help='Schedule all packages build before this date') + help='Schedule all packages built before this date') parser.add_argument('packages', metavar='package', nargs='*', help='list of packages to reschedule') scheduling_args = parser.parse_known_args()[0] @@ -174,7 +174,7 @@ blablabla = '✂…' if len(' '.join(pkgs)) > 257 else '' packages_txt = ' packages ' if len(pkgs) > 1 else ' package ' trailing = ' - artifacts will be preserved' if artifacts else '' trailing += ' - there will be no notification at the end' if not notify else '' -trailing += ' - notify when the build start too' if debug_url else '' +trailing += ' - notify when the build starts too' if debug_url else '' message = str(len(ids)) + packages_txt + 'scheduled in ' + suite + ' by ' + \ requester |