VirtualMailManager/ext/Postconf.py
changeset 138 617f27715b01
parent 133 2d5c4745efec
child 155 eb866ebb9f2e
equal deleted inserted replaced
137:fc09f657082d 138:617f27715b01
     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