mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
fix a comment and a warning
This commit is contained in:
parent
f5a5fffb10
commit
fac033314a
@ -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]')
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user