mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-08 18:31:07 +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
|
||||
if not pagename in existingpages:
|
||||
print "Creating page " + pagename
|
||||
newpage = site.Pages[pagename]
|
||||
newpage.save(text, summary='Auto-created')
|
||||
try:
|
||||
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