From 395dc1fc9ed3542d6523f79c999e297544e005ad Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 3 Nov 2011 16:35:08 +0100 Subject: [PATCH] fix syntax --- kernel_build.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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='' -- 2.39.5