chiark / gitweb /
metadata: store comments in lists since lists are used everywhere else
authorHans-Christoph Steiner <hans@eds.org>
Wed, 22 Jul 2015 18:10:52 +0000 (11:10 -0700)
committerHans-Christoph Steiner <hans@eds.org>
Tue, 1 Sep 2015 09:39:51 +0000 (11:39 +0200)
commitcc29d39f0a2f3d4745c5ff0c4d3cbc902c6aba75
tree52e2d1fbc16843f4560af7966bf62e3d4cb0073c
parentdabb7e42b78973d30f130d190ad9c3341cfa10a9
metadata: store comments in lists since lists are used everywhere else

The only data produced by parsing metadata that was stored as a tuple was
the comments' key/values.  Everywhere else, lists are used.  This changes
the comments to also only use lists to keep the data consistent internally.
That makes it vastly easier to produce the exact same metadata dict when
parsing .txt, JSON, XML, etc.
fdroidserver/metadata.py