VirtualMailManager/ext/postconf.py
branchv0.7.x
changeset 673 de046a3b29a5
parent 653 cf07e4468934
child 676 2bc11dada296
equal deleted inserted replaced
672:d3fd9bb0a5ea 673:de046a3b29a5
    23 
    23 
    24 
    24 
    25 class Postconf(object):
    25 class Postconf(object):
    26     """Wrapper class for Postfix's postconf."""
    26     """Wrapper class for Postfix's postconf."""
    27     __slots__ = ('_bin', '_val')
    27     __slots__ = ('_bin', '_val')
    28     _parameter_re = re.compile(r'^\w+$')
    28     _parameter_re = re.compile(r'^\w+$', re.ASCII)
    29     _variables_re = re.compile(r'\$\b\w+\b')
    29     _variables_re = re.compile(r'\$\b\w+\b', re.ASCII)
    30 
    30 
    31     def __init__(self, postconf_bin):
    31     def __init__(self, postconf_bin):
    32         """Creates a new Postconf instance.
    32         """Creates a new Postconf instance.
    33 
    33 
    34         Argument:
    34         Argument: