mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-09 02:41:06 +03:00
Don't stall update for 'bad' wiki page names
This commit is contained in:
parent
87a7cb4878
commit
859ef52140
1 changed files with 5 additions and 2 deletions
|
@ -168,8 +168,11 @@ def update_wiki(apps, apks, verbose=False):
|
||||||
print "Checking " + pagename
|
print "Checking " + pagename
|
||||||
if not pagename in existingpages:
|
if not pagename in existingpages:
|
||||||
print "Creating page " + pagename
|
print "Creating page " + pagename
|
||||||
newpage = site.Pages[pagename]
|
try:
|
||||||
newpage.save(text, summary='Auto-created')
|
newpage = site.Pages[pagename]
|
||||||
|
newpage.save(text, summary='Auto-created')
|
||||||
|
except:
|
||||||
|
print "...FAILED to create page"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue