Lines Matching refs:line
47 def __init__(self, filename, line):
48 message = ('Lost content from {}: "{}"'.format(filename, line))
70 # The maximum line length for an entry
74 'name', 'title_line', # Title text and line number of the title
75 'body', 'body_line', # Body text and starting line number of the body
129 """A version section starts with a line starting with '='."""
151 """A category title is a line with the title in column 0."""
173 # Make sure that there is additionally a blank line between categories.
220 for line_number, line in enumerate(body_split, 1):
221 if not self._only_url_re.match(line) and \
222 len(line) > MAX_LINE_LENGTH:
223 long_url_msg = '. URL exceeding length limit must be alone in its line.' \
224 if self._has_url_re.match(line) else ""
229 len(line), MAX_LINE_LENGTH,
402 The sanity check is that every line that is present in an input file
408 for line in open(main_input_file, 'r', encoding='utf-8'):
409 if line not in generated_output:
410 raise LostContent('original file', line)
412 for line in open(merged_file, 'r', encoding='utf-8'):
413 if line not in generated_output:
414 raise LostContent(merged_file, line)
501 """Command line entry point."""