equal
deleted
inserted
replaced
11 import os |
11 import os |
12 import re |
12 import re |
13 import stat |
13 import stat |
14 |
14 |
15 from VirtualMailManager import ENCODING |
15 from VirtualMailManager import ENCODING |
16 from VirtualMailManager.constants import \ |
16 from VirtualMailManager.constants import NOT_EXECUTABLE, NO_SUCH_BINARY |
17 NOT_EXECUTABLE, NO_SUCH_BINARY, NO_SUCH_DIRECTORY |
|
18 from VirtualMailManager.errors import VMMError |
17 from VirtualMailManager.errors import VMMError |
19 |
18 |
20 |
19 |
21 _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+))$') |
22 _version_level = dict(alpha=0xA, beta=0xB, rc=0xC) |
21 _version_level = dict(alpha=0xA, beta=0xB, rc=0xC) |