mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-13 10:40:29 +03:00
metadata: fix crash if .fdroid.yml but its not a git repo
This commit is contained in:
parent
c2bc52dd85
commit
bb99986630
2 changed files with 18 additions and 2 deletions
|
|
@ -672,7 +672,7 @@ def parse_metadata(metadatapath):
|
|||
# pylint: disable-next=no-member
|
||||
except git.exc.InvalidGitRepositoryError:
|
||||
logging.debug(
|
||||
_('Including metadata from {path}').format(metadata_in_repo)
|
||||
_('Including metadata from {path}').format(path=metadata_in_repo)
|
||||
)
|
||||
app_in_repo = parse_metadata(metadata_in_repo)
|
||||
for k, v in app_in_repo.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue