1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-07 01:40:10 +02:00

fix a comment and a warning

This commit is contained in:
Michael Pöhn 2020-08-19 17:15:34 +02:00
parent f5a5fffb10
commit fac033314a
2 changed files with 2 additions and 2 deletions

View File

@ -516,7 +516,7 @@ def get_local_metadata_files():
'''get any metadata files local to an app's source repo
This tries to ignore anything that does not count as app metdata,
including emacs cruft ending in ~ and the .fdroid.key*pass.yml files.
including emacs cruft ending in ~
'''
return glob.glob('.fdroid.[a-jl-z]*[a-rt-z]')

View File

@ -941,7 +941,7 @@ def parse_metadata(metadatapath, check_vcs=False, refresh=True):
with open(metadatapath, 'r') as mf:
parse_yaml_metadata(mf, app)
else:
warn_or_exception(_('Unknown metadata format: {path}')
warn_or_exception(_('Unknown metadata format: {path} (use: .yml)')
.format(path=metadatapath))
if check_vcs and app.Repo: