Move exceptions to exceptions.py
This commit is contained in:
parent
e940c13019
commit
5ee96e2c39
10
lon_deployer/exceptions.py
Normal file
10
lon_deployer/exceptions.py
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
class FastbootException(Exception):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
class DeviceNotFound(Exception):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
class RepartitonError(Exception):
|
||||||
|
pass
|
|
@ -13,11 +13,10 @@ from time import sleep
|
||||||
|
|
||||||
import adbutils
|
import adbutils
|
||||||
import adbutils.shell
|
import adbutils.shell
|
||||||
from rich.console import Console
|
|
||||||
from rich.prompt import Prompt
|
from rich.prompt import Prompt
|
||||||
from rich_argparse import RichHelpFormatter
|
from rich_argparse import RichHelpFormatter
|
||||||
|
|
||||||
from . import Files
|
from . import exceptions
|
||||||
from . import fastboot
|
from . import fastboot
|
||||||
from . import files
|
from . import files
|
||||||
from ._version import VERSION
|
from ._version import VERSION
|
||||||
|
|
Reference in a new issue