mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 15:30:28 +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
|
|
@ -84,8 +84,7 @@ def main():
|
|||
print(app.metadatapath)
|
||||
continue
|
||||
|
||||
with open(base + '.' + to_ext, 'w') as f:
|
||||
metadata.write_metadata(to_ext, f, app)
|
||||
metadata.write_metadata(base + '.' + to_ext, app)
|
||||
|
||||
if ext != to_ext:
|
||||
os.remove(app.metadatapath)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue