mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
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:
parent
73bb2cf1ba
commit
8b85c860a6
5 changed files with 10 additions and 10 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue