VirtualMailManager/common.py
branchv0.6.x
changeset 316 31d8931dc535
parent 273 77fc7138ef6a
child 320 011066435e6f
equal deleted inserted replaced
315:81bccfd14355 316:31d8931dc535
    10 
    10 
    11 import os
    11 import os
    12 import re
    12 import re
    13 
    13 
    14 from VirtualMailManager import ENCODING
    14 from VirtualMailManager import ENCODING
    15 from VirtualMailManager.constants.ERROR import \
    15 from VirtualMailManager.constants import \
    16      NOT_EXECUTABLE, NO_SUCH_BINARY, NO_SUCH_DIRECTORY
    16      NOT_EXECUTABLE, NO_SUCH_BINARY, NO_SUCH_DIRECTORY
    17 from VirtualMailManager.errors import VMMError
    17 from VirtualMailManager.errors import VMMError
    18 
    18 
    19 
    19 
    20 _version_re = re.compile(r'^(\d+)\.(\d+)\.(?:(\d+)|(alpha|beta|rc)(\d+))$')
    20 _version_re = re.compile(r'^(\d+)\.(\d+)\.(?:(\d+)|(alpha|beta|rc)(\d+))$')