Replace sys.exit() in non-main functions by exceptions

Also move all exceptions into one module
This commit is contained in:
Torsten Grote 2017-05-22 16:33:52 -03:00
parent a8420817cb
commit 1fcd8e63a3
No known key found for this signature in database
GPG key ID: 3E5F77D92CF891FF
17 changed files with 119 additions and 141 deletions

View file

@ -24,7 +24,7 @@ import logging
from . import common
from . import metadata
from .common import BuildException, VCSException
from .exception import BuildException, VCSException
config = None
options = None