Moved the BaseVariants import to the place where we use it
- Seems to solve macros issues
This commit is contained in:
parent
3e03228b7b
commit
74d8b57830
|
|
@ -21,7 +21,6 @@ from .misc import (NO_YAML_MODULE, EXIT_BAD_ARGS, EXAMPLE_CFG, WONT_OVERWRITE, W
|
||||||
from .gs import GS
|
from .gs import GS
|
||||||
from .registrable import RegOutput, RegVariant, RegFilter, RegDependency
|
from .registrable import RegOutput, RegVariant, RegFilter, RegDependency
|
||||||
from .pre_base import BasePreFlight
|
from .pre_base import BasePreFlight
|
||||||
from .var_base import BaseVariant
|
|
||||||
from . import __pypi_deps__
|
from . import __pypi_deps__
|
||||||
# Logger
|
# Logger
|
||||||
from . import log
|
from . import log
|
||||||
|
|
@ -658,6 +657,7 @@ def print_preflights_help():
|
||||||
|
|
||||||
|
|
||||||
def print_variants_help():
|
def print_variants_help():
|
||||||
|
from .var_base import BaseVariant
|
||||||
vars = BaseVariant.get_registered()
|
vars = BaseVariant.get_registered()
|
||||||
logger.debug('{} supported variants'.format(len(vars)))
|
logger.debug('{} supported variants'.format(len(vars)))
|
||||||
print('Supported variants:\n')
|
print('Supported variants:\n')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue