29 lines
617 B
Python
29 lines
617 B
Python
try:
|
|
from . import block
|
|
except ImportError:
|
|
from . import block_fallback as block
|
|
try:
|
|
from . import filesystem_fallback
|
|
except ImportError:
|
|
from . import filesystem_fallback as filesystem
|
|
|
|
try:
|
|
from . import luks_fallback
|
|
except ImportError:
|
|
from . import luks_fallback as luks
|
|
|
|
try:
|
|
from . import lvm_fallback
|
|
except ImportError:
|
|
from . import lvm_fallback as lvm
|
|
|
|
try:
|
|
from . import mdadm_fallback
|
|
except ImportError:
|
|
from . import mdadm_fallback as mdadm
|
|
|
|
try:
|
|
from . import _common
|
|
except ImportError:
|
|
pass # GI isn't supported, so we don't even use a fallback.
|