mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Merge branch 'mwclient-dep' into 'master'
Replace deprecated mwclient method See merge request fdroid/fdroidserver!489
This commit is contained in:
commit
94a094323e
@ -302,7 +302,7 @@ def update_wiki(apps, sortedids, apks):
|
||||
for page in catpages:
|
||||
existingpages.append(page.name)
|
||||
if page.name in genp:
|
||||
pagetxt = page.edit()
|
||||
pagetxt = page.text()
|
||||
if pagetxt != genp[page.name]:
|
||||
logging.debug("Updating modified page " + page.name)
|
||||
page.save(genp[page.name], summary='Auto-updated')
|
||||
|
Loading…
Reference in New Issue
Block a user