mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
fix a comment and a warning
This commit is contained in:
parent
f5a5fffb10
commit
fac033314a
2 changed files with 2 additions and 2 deletions
|
|
@ -516,7 +516,7 @@ def get_local_metadata_files():
|
||||||
'''get any metadata files local to an app's source repo
|
'''get any metadata files local to an app's source repo
|
||||||
|
|
||||||
This tries to ignore anything that does not count as app metdata,
|
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]')
|
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:
|
with open(metadatapath, 'r') as mf:
|
||||||
parse_yaml_metadata(mf, app)
|
parse_yaml_metadata(mf, app)
|
||||||
else:
|
else:
|
||||||
warn_or_exception(_('Unknown metadata format: {path}')
|
warn_or_exception(_('Unknown metadata format: {path} (use: .yml)')
|
||||||
.format(path=metadatapath))
|
.format(path=metadatapath))
|
||||||
|
|
||||||
if check_vcs and app.Repo:
|
if check_vcs and app.Repo:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue