1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-14 02:50:12 +01:00

Replace deprecated mwclient method

It's functionally the same, just a different name.
This commit is contained in:
Ciaran Gultnieks 2018-04-08 09:37:48 +01:00
parent ea3f9df473
commit 31e8605864

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