From d3b57209241e6ece31b526d794e56e62c2dd3b36 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 15 Feb 2012 16:39:55 +0100 Subject: [PATCH] figlet is nicer than toilet --- debian_build.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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() -- 2.39.5