Merge branch 'master' of git://gitorious.org/f-droid/fdroidserver

This commit is contained in:
David Black 2012-12-15 15:29:21 +00:00
commit ed78943692
3 changed files with 7 additions and 4 deletions

View file

@ -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"