From: Holger Levsen Date: Thu, 3 Nov 2011 15:35:08 +0000 (+0100) Subject: fix syntax X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=395dc1fc9ed3542d6523f79c999e297544e005ad;p=profitbricks%2Fjenkins-build-scripts.git fix syntax --- diff --git a/kernel_build.py b/kernel_build.py index facb52d..b2063dc 100644 --- a/kernel_build.py +++ b/kernel_build.py @@ -24,8 +24,6 @@ GIT_OLD_ID = os.environ.get('GIT_OLD_ID') GIT_NEW_ID = os.environ.get('GIT_NEW_ID') GIT_BRANCH_NAME = os.environ.get('GIT_BRANCH_NAME') -SOURCE_BUILD = os.environ.get('SOURCE_BUILD') - GIT_COMMITTER_EMAIL = os.environ.get('GIT_COMMITTER_EMAIL') SMTP_SERVER = 'roma.profitbricks.localdomain' @@ -71,7 +69,7 @@ def send_email(result): def build_kernel_with_pbuilder(revision, pbuilder_script, dist='stable'): pbuilder_script = os.path.abspath(pbuilder_script) - if SOURCE_BUILD: + if os.environ.get('SOURCE_BUILD'): SOURCE_BUILD='--source-only' else: SOURCE_BUILD=''