chiark / gitweb /
use pyyaml for rewriting .yml metadata files
authorHans-Christoph Steiner <hans@eds.org>
Fri, 25 Nov 2016 14:20:19 +0000 (15:20 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Tue, 2 May 2017 12:55:23 +0000 (14:55 +0200)
commit0d00705aed5c77cda8d807266675d0737a0d38eb
tree133f2a226bdb2e2fae36502753ef74c756da1352
parente7e97654b1bbac0c9258237d50c8a6d4c90bbef3
use pyyaml for rewriting .yml metadata files

This replaces the broken, custom code with the standard YAML lib.

In rewritemeta, do not call app.metadatapath since it will be deleted when
the dict is cleaned up for outputing. metadatapath is only used internally
and should not be written out.

closes #169
refs #290
fdroidserver/metadata.py
fdroidserver/rewritemeta.py