mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-09 00:40:29 +03:00
explicitly re-raising exceptions
To fix pylint.
This commit is contained in:
parent
2d0645c1c4
commit
4ce79a7eaa
7 changed files with 22 additions and 22 deletions
|
|
@ -495,8 +495,8 @@ def checkupdates_app(app):
|
|||
if pattern.startswith('+'):
|
||||
try:
|
||||
suffix, pattern = pattern[1:].split(' ', 1)
|
||||
except ValueError:
|
||||
raise MetaDataException("Invalid AutoUpdateMode: " + mode)
|
||||
except ValueError as exc:
|
||||
raise MetaDataException("Invalid AutoUpdateMode: " + mode) from exc
|
||||
|
||||
gotcur = False
|
||||
latest = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue