metadata: fix crash if .fdroid.yml but its not a git repo

This commit is contained in:
Hans-Christoph Steiner 2023-05-03 13:39:37 +02:00
parent c2bc52dd85
commit bb99986630
2 changed files with 18 additions and 2 deletions

View file

@ -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():