aif-ng/aif/disk/__init__.py
brent s ca1f12f5bd soooo...
turns out ALL of the disk operations can be performed with
gobject-introspection.

BUT it's unlikely that that'll be available everywhere, or that
the Arch Linux releng team would include it, etc.
So we have fallbacks to mimic it.

BUT please try to use gobject-introspection with libblockdev,
because it's going to be a lot faster and a lot less error-prone.
2019-11-01 02:54:51 -04:00

24 lines
500 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