import urllib import database from htmlgenerators import artistLink def instructions(keys): db_data = database.issues() i = 0 html = "
The current database wasn't built with all current rules in effect. Any problem below might be a false alarm and fixing it could create redundant rules. | " html += """Rebuild the database | """
html += "|
'" + artistLink(d[0]) + "'" html += " is a possible duplicate of " html += "'" + artistLink(d[1]) + "' | " html += """""" + d[1] + """ is correct | """
html += """""" + d[0] + """ is correct | """
html += "
'" + artistLink(c[0]) + "' sounds like the combination of " + str(len(c[1])) + " artists: " for a in c[1]: html += "'" + artistLink(a) + "' " html += " | " html += """Fix it | """
html += "|
Is '" + n[0] + "' in '" + artistLink(n[1]) + "' an artist? | " html += """Yes | """
html += "