equal
deleted
inserted
replaced
2 # Copyright (c) 2008 - 2009, VEB IT |
2 # Copyright (c) 2008 - 2009, VEB IT |
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 from VirtualMailManager.constants.VERSION import * |
|
8 |
|
9 import re |
|
10 from subprocess import Popen, PIPE |
7 from subprocess import Popen, PIPE |
11 |
8 |
12 import VirtualMailManager.constants.ERROR as ERR |
9 from __main__ import re, ERR |
13 from VirtualMailManager.Exceptions import VMMException |
10 from VirtualMailManager.Exceptions import VMMException |
14 |
11 |
15 RE_PC_PARAMS = """^\w+$""" |
12 RE_PC_PARAMS = """^\w+$""" |
16 RE_PC_VARIABLES = r"""\$\b\w+\b""" |
13 RE_PC_VARIABLES = r"""\$\b\w+\b""" |
17 |
14 |