Skip to content
Snippets Groups Projects
Commit 1deca431 authored by Raniere Silva's avatar Raniere Silva
Browse files

Revert "Minor changes to make error messages consistent, and possibly less...

Revert "Minor changes to make error messages consistent, and possibly less crashy. Still need unit tests to trigger this code."

This reverts commit 8c0819be.
parent fddbaab2
Branches
Tags
No related merge requests found
......@@ -431,7 +431,7 @@ class ReferencePageValidator(MarkdownValidator):
if len(glossary_entry) < 2:
logging.error(
"In {0}:"
"Glossary entry '{1}' must have at least two lines- "
"Glossary entry \"{}\" must have at least two lines- "
"a term and a definition.".format(
glossary_keyword, self.filename))
return False
......@@ -442,7 +442,7 @@ class ReferencePageValidator(MarkdownValidator):
if not re.match("^: ", line):
logging.error(
"In {0}:"
"At glossary entry '{1}' "
"At glossary entry \"{}\" "
"First line of definition must "
"start with ': '.".format(
glossary_keyword, self.filename))
......@@ -451,7 +451,7 @@ class ReferencePageValidator(MarkdownValidator):
if not re.match("^ ", line):
logging.error(
"In {0}:"
"At glossary entry '{1}' "
"At glossary entry \"{}\" "
"Subsequent lines of definition must "
"start with ' '.".format(
glossary_keyword, self.filename))
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment