From: Holger Levsen Date: Wed, 15 Feb 2012 15:39:55 +0000 (+0100) Subject: figlet is nicer than toilet X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=d3b57209241e6ece31b526d794e56e62c2dd3b36;p=profitbricks%2Fjenkins-build-scripts.git figlet is nicer than toilet --- diff --git a/debian_build.py b/debian_build.py index 5a9d7fb..a0f1d25 100755 --- a/debian_build.py +++ b/debian_build.py @@ -425,10 +425,12 @@ if __name__ == '__main__': elif GIT_BRANCH_NAME.startswith('hotfix/') or options.distribution in ('stable', 'stable-proposed-updates', 'production', 'production-proposed-updates'): pb_suite='production-proposed-updates' - cmd = ['toilet', '-f', 'ascii9', '-t', 'dist: %s' %(pb_suite)] + cmd = ['figlet-figlet', '-t', 'dist: %s' %(pb_suite)] subprocess.check_call(cmd) - cmd = ['toilet', '-f', 'ascii9', '-t', 'version: %s' %(version)] + print 'dist: %s' %(pb_suite) + cmd = ['figlet-figlet', '-t', 'version: %s' %(version)] subprocess.check_call(cmd) + print 'version: %s' %(version) gbp = git_buildpackage.GitBuildPackage( upstream_branch=GIT_UPSTREAM_BRANCH, @@ -477,7 +479,7 @@ if __name__ == '__main__': else: logger.debug('value of NO_UPLOAD: %s' % NO_UPLOAD) except Exception, error: - cmd = ['toilet', '-f', 'ascii9', '-t', 'upload to reprepro failed:'] + cmd = ['figlet-figlet', '-t', 'upload to reprepro failed:'] subprocess.check_call(cmd) logger.exception(error) exit_error()