1
0
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:
Marcus 2018-04-08 11:53:26 +00:00
commit 94a094323e

View File

@ -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')