VirtualMailManager/ext/Postconf.py
branchv0.6.x
changeset 185 6e1ef32fbd82
parent 162 0ac9ef587769
child 216 0c8c053b451c
--- a/VirtualMailManager/ext/Postconf.py	Thu Feb 04 19:08:01 2010 +0000
+++ b/VirtualMailManager/ext/Postconf.py	Fri Feb 05 20:13:32 2010 +0000
@@ -4,9 +4,10 @@
 
 """A small - r/o - wrapper class for Postfix' postconf."""
 
+import re
 from subprocess import Popen, PIPE
 
-from __main__ import re, ERR
+import VirtualMailManager.constants.ERROR as ERR
 from VirtualMailManager.Exceptions import VMMException
 
 RE_PC_PARAMS = """^\w+$"""