No need to use Enum for simple constants
This commit is contained in:
parent
7c25d22d41
commit
2d3890fd51
@ -6,7 +6,6 @@ import requests
|
|||||||
import shutil
|
import shutil
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
from enum import Enum
|
|
||||||
from pkg_resources import parse_version
|
from pkg_resources import parse_version
|
||||||
|
|
||||||
from . import crypto
|
from . import crypto
|
||||||
@ -15,7 +14,7 @@ from . import lxcmgr
|
|||||||
from . import svcmgr
|
from . import svcmgr
|
||||||
from .paths import LXC_STORAGE_DIR, REPO_CACHE_DIR, REPO_CONF_FILE, REPO_LOCAL_FILE, REPO_LOCK, REPO_SIG_FILE
|
from .paths import LXC_STORAGE_DIR, REPO_CACHE_DIR, REPO_CONF_FILE, REPO_LOCAL_FILE, REPO_LOCK, REPO_SIG_FILE
|
||||||
|
|
||||||
class Stage(Enum):
|
class Stage:
|
||||||
QUEUED = 1
|
QUEUED = 1
|
||||||
DOWNLOAD = 2
|
DOWNLOAD = 2
|
||||||
UNPACK = 3
|
UNPACK = 3
|
||||||
|
Loading…
Reference in New Issue
Block a user