mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-07 07:50:28 +03:00
Handle duplicate apps in a much cleaner way
Don't log and exit in an inner metadata function. Handle it at a higher level and do a proper exception. This also avoids unnecessary passing of apps all around.
This commit is contained in:
parent
ce2f4a115c
commit
de12cfdbe1
3 changed files with 19 additions and 22 deletions
|
|
@ -174,7 +174,7 @@ def main():
|
|||
config = common.read_config(options)
|
||||
|
||||
apps = metadata.read_metadata()
|
||||
package, app = metadata.get_default_app_info_list(apps)
|
||||
package, app = metadata.get_default_app_info()
|
||||
app['id'] = None
|
||||
app['Update Check Mode'] = "Tags"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue