mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 07:52:35 +03:00
App.comments is no more since !772
This commit is contained in:
parent
dbe21b2b94
commit
2b81a66b79
7 changed files with 2 additions and 16 deletions
|
@ -159,7 +159,6 @@ class App(dict):
|
|||
self.id = None
|
||||
self.metadatapath = None
|
||||
self.Builds = []
|
||||
self.comments = {}
|
||||
self.added = None
|
||||
self.lastUpdated = None
|
||||
|
||||
|
@ -607,16 +606,6 @@ def read_metadata(appids={}, sort_by_time=False):
|
|||
return apps
|
||||
|
||||
|
||||
# Known keys not originating from the metadata are:
|
||||
#
|
||||
# 'comments' - a list of comments from the metadata file. Each is
|
||||
# a list of the form [field, comment] where field is
|
||||
# the name of the field it preceded in the metadata
|
||||
# file. Where field is None, the comment goes at the
|
||||
# end of the file. Alternatively, 'build:version' is
|
||||
# for a comment before a particular build version.
|
||||
|
||||
|
||||
def parse_metadata(metadatapath):
|
||||
"""Parse metadata file, also checking the source repo for .fdroid.yml.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue