]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fix test
authorHolger Levsen <holger@layer-acht.org>
Tue, 17 Jan 2012 17:33:39 +0000 (18:33 +0100)
committerHolger Levsen <holger@layer-acht.org>
Tue, 17 Jan 2012 17:33:39 +0000 (18:33 +0100)
debian_build.py

index 4a4b57d211c46d59f70112b7891ae9ec4e1b3a66..6d073db235c78a55ad7e9fda3e072934cbf2d5cb 100755 (executable)
@@ -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)