[Qa-jenkins-scm] [jenkins.debian.net] 01/03: reproducible: remote_scheduler: do not ball users out when they schedule an inexistent package, just print the error

Holger Levsen holger at moszumanska.debian.org
Wed Aug 19 21:18:10 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 b270ab452a63fb798dbf2f9b30800593949d82b9
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Wed Aug 19 19:03:50 2015 +0000

    reproducible: remote_scheduler: do not ball users out when they schedule an inexistent package, just print the error
---
 bin/reproducible_remote_scheduler.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index fc16508..d2de98b 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -182,9 +182,8 @@ for pkg in packages:
             ids.append(result[0][0])
             pkgs.append(pkg)
     except IndexError:
-        log.critical('The package %s is not available in %s/%s',
-                     pkg, suite, arch)
-        sys.exit(1)
+        log.error('%sThe package %s is not available in %s/%s%s',
+                  bcolors.FAIL, pkg, suite, arch, bcolors.ENDC)
 
 blablabla = '✂…' if len(' '.join(pkgs)) > 257 else ''
 packages_txt = ' packages ' if len(pkgs) > 1 else ' package '

-- 
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