Fixed value string followed by spaces error

This commit is contained in:
mx
2021-09-07 11:21:36 +02:00
parent 864c4d1f49
commit 6e6ea334cc

View File

@@ -2,7 +2,7 @@
import sys, os, re, yaml, hashlib import sys, os, re, yaml, hashlib
# Version 3.2 # Version 3.3
# Script for automated gitlab-ci creation # Script for automated gitlab-ci creation
# Assembles the gitlab ci from master template file: # Assembles the gitlab ci from master template file:
@@ -76,7 +76,7 @@ def fetchVariableReplacers(variablesGrep):
if (key != None and value != None): if (key != None and value != None):
key = key.strip() key = key.strip()
result[key] = value result[key] = value.strip()
return result return result
@@ -174,3 +174,4 @@ def main():
# Execute main function # Execute main function
if __name__ == '__main__': if __name__ == '__main__':
main() main()