mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
rename metadata.write_metadata() to match metadata.parse_*_metadata()
This changes the function name to include the format of the metadata file, and also changes the order of the args to match the parse_*_metadata() functions.
This commit is contained in:
parent
3b20153cd7
commit
994488ad47
4 changed files with 18 additions and 14 deletions
|
|
@ -243,8 +243,7 @@ def main():
|
|||
f.write(app.RepoType + ' ' + app.Repo)
|
||||
|
||||
metadatapath = os.path.join('metadata', package + '.txt')
|
||||
with open(metadatapath, 'w') as f:
|
||||
metadata.write_metadata('txt', f, app)
|
||||
metadata.write_metadata(metadatapath, app)
|
||||
logging.info("Wrote " + metadatapath)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue