From afc4a13cff3fa4c296ba51049f7cfed04fda642c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 18 Sep 2011 13:21:39 +0200 Subject: [PATCH] fix typos --- kernel_inpbuilder.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel_inpbuilder.py b/kernel_inpbuilder.py index 4288e74..b83827d 100644 --- a/kernel_inpbuilder.py +++ b/kernel_inpbuilder.py @@ -246,13 +246,13 @@ def add_local_version_to_config(kernel_build_revision): ) kernel_config = read_file(KERNEL_CONFIG_PATH) # don't put the branch names into the packages names - if GIT_BRANCH_NAME[7:] == 'master-' + if GIT_BRANCH_NAME[7:] == 'master-': flavor=GIT_BRANCH_NAME[:7] - elif GIT_BRANCH_NAME[8:] == 'develop-' + elif GIT_BRANCH_NAME[8:] == 'develop-': flavor=GIT_BRANCH_NAME[:8] - elif GIT_BRANCH_NAME[8:] == 'release-' + elif GIT_BRANCH_NAME[8:] == 'release-': flavor=GIT_BRANCH_NAME[:8] - elif GIT_BRANCH_NAME[7:] == 'hotfix-' + elif GIT_BRANCH_NAME[7:] == 'hotfix-': flavor=GIT_BRANCH_NAME[:7] localversion = '-profitbricks-%s' %(flavor) -- 2.39.5