skip internal BadContent page from converting

This commit is contained in:
Elan Ruusamäe 2012-09-17 23:38:35 +02:00
parent 415026c59d
commit d7ee835ce5

View file

@ -253,6 +253,10 @@ def convertfile(pagedir, overwrite = False):
print "SKIP %s: page in underlay" % pagename print "SKIP %s: page in underlay" % pagename
return return
if pagename.count('BadContent') > 0:
print "SKIP %s: internal page" % pagedir
return
content = readfile2(curr_rev) content = readfile2(curr_rev)
# print "content:[%s]" % content # print "content:[%s]" % content
# content = convert_markup(pagename, content) # content = convert_markup(pagename, content)