summaryrefslogtreecommitdiffstats
path: root/lib/postmulti
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2013-11-26 05:24:21 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:50:54 +0200
commit8b85aac244734d4764833043535eb64c84d0714b (patch)
treea1d876f9bd6d912169174c77c2979bd2ac71fb9d /lib/postmulti
parentfd7e94a34b7fa9151d689375d8687d3686786d9b (diff)
Deal with python strange support of encodings.
It's not happy with non-ASCII characters in comments, unless the encoding is made explicit… http://www.python.org/dev/peps/pep-0263/
Diffstat (limited to 'lib/postmulti')
-rw-r--r--lib/postmulti2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/postmulti b/lib/postmulti
index 4f5cbcd..6aed553 100644
--- a/lib/postmulti
+++ b/lib/postmulti
@@ -1,24 +1,24 @@
#!/usr/bin/python
# Create and manage postfix instances.
-# Copyright © 2013 Guilhem Moulin <guilhem@fripost.org>
+# Copyright (c) 2013 Guilhem Moulin <guilhem@fripost.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Look up postfix configuration variable
def postconf(k, instance=None):
cmd = [ os.path.join(os.sep, 'usr', 'sbin', 'postconf') ]
if instance:
config = os.path.join(os.sep, 'etc', 'postfix-%s' % instance)