equal
deleted
inserted
replaced
2 # Copyright (c) 2008 - 2010, Pascal Volk |
2 # Copyright (c) 2008 - 2010, Pascal Volk |
3 # See COPYING for distribution information. |
3 # See COPYING for distribution information. |
4 |
4 |
5 """A small - r/o - wrapper class for Postfix' postconf.""" |
5 """A small - r/o - wrapper class for Postfix' postconf.""" |
6 |
6 |
|
7 import re |
7 from subprocess import Popen, PIPE |
8 from subprocess import Popen, PIPE |
8 |
9 |
9 from __main__ import re, ERR |
10 import VirtualMailManager.constants.ERROR as ERR |
10 from VirtualMailManager.Exceptions import VMMException |
11 from VirtualMailManager.Exceptions import VMMException |
11 |
12 |
12 RE_PC_PARAMS = """^\w+$""" |
13 RE_PC_PARAMS = """^\w+$""" |
13 RE_PC_VARIABLES = r"""\$\b\w+\b""" |
14 RE_PC_VARIABLES = r"""\$\b\w+\b""" |
14 |
15 |