mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 16:06:14 +00:00
BugFix: Python3
This commit is contained in:
parent
771fcf4601
commit
57ab45f471
@ -26,7 +26,7 @@ def parseenvironmentvariables(prependingpath):
|
|||||||
namematch = re.match(r"^KCCONF_([A-Z]+)_([A-Z0-9_]+)$", name)
|
namematch = re.match(r"^KCCONF_([A-Z]+)_([A-Z0-9_]+)$", name)
|
||||||
if namematch != None:
|
if namematch != None:
|
||||||
filename = namematch.group(1).lower() + ".cfg"
|
filename = namematch.group(1).lower() + ".cfg"
|
||||||
if not configs.has_key(prependingpath + filename):
|
if prependingpath + filename not in configs:
|
||||||
configs[prependingpath + filename] = dict()
|
configs[prependingpath + filename] = dict()
|
||||||
confkey = namematch.group(2).lower()
|
confkey = namematch.group(2).lower()
|
||||||
configs[prependingpath + filename][confkey] = value
|
configs[prependingpath + filename][confkey] = value
|
||||||
|
Loading…
x
Reference in New Issue
Block a user