mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-23 14:22:54 +00:00
BugFix: Python3
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user