schemaorg / suggestions-questions-brainstorming

Suggestions, questions, and brainstorming
20 stars 15 forks source link

Should i update log messages in the given file to, i think, more clear ones? #252

Closed teohan-eksi closed 1 year ago

teohan-eksi commented 3 years ago

https://github.com/schemaorg/schemaorg/blob/main/SchemaExamples/example-code/batch-process.py lines 32-42:

for e in schemaExamples.allExamples():
    if not e.hasHtml():
        log.info("Example %s has no html" % e.key())
    if not e.hasMicrodata():
        log.info("Example %s has no html" % e.key())
    if not e.hasRdfa():
        log.info("Example %s has no html" % e.key())
    if not e.hasJsonld():
        log.info("Example %s has no html" % e.key())

Every log message is "no html", should i change them to no whatever it says in the if statement?