From 1919a109c295dbf49d113a1f0b3418279427928e Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 15 Feb 2012 16:47:52 +0100 Subject: [PATCH] success --- debian_build.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/debian_build.py b/debian_build.py index a0f1d25..66a62b2 100755 --- a/debian_build.py +++ b/debian_build.py @@ -427,10 +427,10 @@ if __name__ == '__main__': cmd = ['figlet-figlet', '-t', 'dist: %s' %(pb_suite)] subprocess.check_call(cmd) - print 'dist: %s' %(pb_suite) + logger.info('dist: %s' %(pb_suite)) cmd = ['figlet-figlet', '-t', 'version: %s' %(version)] subprocess.check_call(cmd) - print 'version: %s' %(version) + logger.info('version: %s' %(version)) gbp = git_buildpackage.GitBuildPackage( upstream_branch=GIT_UPSTREAM_BRANCH, @@ -478,6 +478,16 @@ if __name__ == '__main__': dput_package_upload(changes_file) else: logger.debug('value of NO_UPLOAD: %s' % NO_UPLOAD) + cmd = ['figlet-figlet', '-t', 'dist: %s' %(pb_suite)] + subprocess.check_call(cmd) + logger.info('dist: %s' %(pb_suite)) + cmd = ['figlet-figlet', '-t', 'version: %s' %(version)] + subprocess.check_call(cmd) + logger.info('version: %s' %(version)) + logger.info('---------------------------------------------------------------------------------------------------------') + cmd = ['figlet-figlet', '-t', 'Success!!!'] + subprocess.check_call(cmd) + except Exception, error: cmd = ['figlet-figlet', '-t', 'upload to reprepro failed:'] subprocess.check_call(cmd) -- 2.39.5