diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-10-09 15:52:08 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-10-09 15:52:08 +0200 |
commit | ef4b587d9d8561d689450c3a7ca945bac97e346d (patch) | |
tree | 04c48cde25ffc4d6cc7a33b42f242579aabe59a7 /bin | |
parent | 4380f583f92ad38da1c7443d1cd2cd6f3ebbd2d5 (diff) | |
download | jenkins.debian.net-ef4b587d9d8561d689450c3a7ca945bac97e346d.tar.xz |
reproducible: shorten irc message
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_remote_scheduler.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py index 002eb329..fd120433 100755 --- a/bin/reproducible_remote_scheduler.py +++ b/bin/reproducible_remote_scheduler.py @@ -185,13 +185,13 @@ for pkg in packages: pkgs.append(pkg) blablabla = '✂…' if len(' '.join(pkgs)) > 257 else '' -packages_txt = ' packages ' if len(pkgs) > 1 else ' package ' +packages_txt = str(len(ids)) ' packages ' if len(pkgs) > 1 else '' trailing = ' - artifacts will be preserved' if artifacts else '' trailing += ' - with irc notification' if notify else '' trailing += ' - notify on start too' if debug_url else '' -message = str(len(ids)) + packages_txt + 'scheduled in ' + suite + '/' + \ - arch + ' by ' + requester +message = requester + ' scheduled ' + packages_txt + \ + 'in ' + suite + '/' + arch if reason: message += ', reason: \'' + reason + '\'' message += ': ' + ' '.join(pkgs)[0:256] + blablabla + trailing |