From 6e6ea334ccbeaab771cb108c9f098cc926446d7b Mon Sep 17 00:00:00 2001 From: mx Date: Tue, 7 Sep 2021 11:21:36 +0200 Subject: [PATCH] Fixed value string followed by spaces error --- CI/gitlab-ci/assemble-gitlab-ci.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CI/gitlab-ci/assemble-gitlab-ci.py b/CI/gitlab-ci/assemble-gitlab-ci.py index 02b2eade..bcace39c 100755 --- a/CI/gitlab-ci/assemble-gitlab-ci.py +++ b/CI/gitlab-ci/assemble-gitlab-ci.py @@ -2,7 +2,7 @@ import sys, os, re, yaml, hashlib -# Version 3.2 +# Version 3.3 # Script for automated gitlab-ci creation # Assembles the gitlab ci from master template file: @@ -76,7 +76,7 @@ def fetchVariableReplacers(variablesGrep): if (key != None and value != None): key = key.strip() - result[key] = value + result[key] = value.strip() return result @@ -174,3 +174,4 @@ def main(): # Execute main function if __name__ == '__main__': main() +