]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
figlet is nicer than toilet
authorHolger Levsen <holger@layer-acht.org>
Wed, 15 Feb 2012 15:39:55 +0000 (16:39 +0100)
committerHolger Levsen <holger@layer-acht.org>
Wed, 15 Feb 2012 15:39:55 +0000 (16:39 +0100)
debian_build.py

index 5a9d7fb8456d951135e32dc4aef0a6eb2c45dcba..a0f1d25454883434edfa890380ec6f011f47a81d 100755 (executable)
@@ -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()