rename lastupdated to lastUpdated to match fdroid client

This lets index-v1 be parsed directly into class instances because the
field/instance var names match exactly.  The original index v0 element
must retain the 'lastupdated' name for backwards compatibility.
This commit is contained in:
Hans-Christoph Steiner 2016-11-28 21:17:22 +01:00
parent 73bb2cf1ba
commit 8b85c860a6
5 changed files with 10 additions and 10 deletions

View file

@ -152,7 +152,7 @@ class App(dict):
self.builds = []
self.comments = {}
self.added = None
self.lastupdated = None
self.lastUpdated = None
def __getattr__(self, name):
if name in self: