summaryrefslogtreecommitdiff
path: root/pykolab
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-03 15:04:08 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-03 15:04:08 (GMT)
commitb5aa2db0c05416f2a3ff4fe7f580efcdcf238535 (patch)
tree0ed85f3cec946d30e43c7b6a57f7e4bd2eb39cdb /pykolab
parente6718ddec843f91f44f0fff42e522685b0224547 (diff)
downloadpykolab-b5aa2db0c05416f2a3ff4fe7f580efcdcf238535.tar.gz
Import Template from Cheetah.Template
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/setup/setup_mta.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pykolab/setup/setup_mta.py b/pykolab/setup/setup_mta.py
index 10f97f1..d806e0b 100644
--- a/pykolab/setup/setup_mta.py
+++ b/pykolab/setup/setup_mta.py
@@ -18,6 +18,7 @@
#
from augeas import Augeas
+from Cheetah.Template import Template
import os
import subprocess
@@ -238,7 +239,7 @@ result_attribute = mail
template_definition = fp.read()
fp.close()
- t = Template(template_definition, searchList=[imapd_settings])
+ t = Template(template_definition, searchList=[postfix_master_settings])
fp = open('/etc/postfix/master.cf', 'w')
fp.write(t.__str__())
fp.close()