mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 23:42:37 +03:00
Replace sys.exit() in non-main functions by exceptions
Also move all exceptions into one module
This commit is contained in:
parent
a8420817cb
commit
1fcd8e63a3
17 changed files with 119 additions and 141 deletions
|
@ -24,7 +24,8 @@ from argparse import ArgumentParser
|
|||
import logging
|
||||
|
||||
from . import common
|
||||
from .common import SdkToolsPopen, FDroidException
|
||||
from .common import SdkToolsPopen
|
||||
from .exception import FDroidException
|
||||
|
||||
options = None
|
||||
config = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue