mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 15:30:28 +03:00
Make use of FDroidException in the main fdroid script
This should improve the output shown when exceptions are found
This commit is contained in:
parent
d9d5f30d7b
commit
73142c740b
2 changed files with 14 additions and 5 deletions
|
|
@ -971,7 +971,7 @@ def parse_androidmanifests(paths, ignoreversions=None):
|
|||
return (max_version, max_vercode, max_package)
|
||||
|
||||
|
||||
class _FDroidException(Exception):
|
||||
class FDroidException(Exception):
|
||||
def __init__(self, value, detail=None):
|
||||
self.value = value
|
||||
self.detail = detail
|
||||
|
|
@ -993,11 +993,11 @@ class _FDroidException(Exception):
|
|||
return ret
|
||||
|
||||
|
||||
class VCSException(_FDroidException):
|
||||
class VCSException(FDroidException):
|
||||
pass
|
||||
|
||||
|
||||
class BuildException(_FDroidException):
|
||||
class BuildException(FDroidException):
|
||||
pass
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue