VirtualMailManager/ext/postconf.py
branchv0.7.x
changeset 673 de046a3b29a5
parent 653 cf07e4468934
child 676 2bc11dada296
--- a/VirtualMailManager/ext/postconf.py	Sat Jan 05 18:23:05 2013 +0000
+++ b/VirtualMailManager/ext/postconf.py	Sat Jan 05 18:33:52 2013 +0000
@@ -25,8 +25,8 @@
 class Postconf(object):
     """Wrapper class for Postfix's postconf."""
     __slots__ = ('_bin', '_val')
-    _parameter_re = re.compile(r'^\w+$')
-    _variables_re = re.compile(r'\$\b\w+\b')
+    _parameter_re = re.compile(r'^\w+$', re.ASCII)
+    _variables_re = re.compile(r'\$\b\w+\b', re.ASCII)
 
     def __init__(self, postconf_bin):
         """Creates a new Postconf instance.