From: Holger Levsen Date: Tue, 17 Jan 2012 17:33:39 +0000 (+0100) Subject: fix test X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=f00d33c1cc282128f7e720695de0716591bf117d;p=profitbricks%2Fjenkins-build-scripts.git fix test --- diff --git a/debian_build.py b/debian_build.py index 4a4b57d..6d073db 100755 --- a/debian_build.py +++ b/debian_build.py @@ -442,7 +442,7 @@ if __name__ == '__main__': logger.info('%s' % (fh.read())) fh.close() # upload (if NO_UPLOAD is not set) - if NO_UPLOAD == "None": + if NO_UPLOAD not in ('true', 'True'): dput_package_upload(changes_file) else: logger.debug('value of NO_UPLOAD: %s' % NO_UPLOAD)