3
class EvalMatches( object ):
4
def __call__(self, lines,fn):
6
if not len(lines) or not len(lines[-1]) or lines[-1][-1] != '\n':
7
errors.append( (fn, len(lines), "Missing newline at eof!"))
11
evaluate_matches = EvalMatches()
15
"ksdhdsf\nkjshfkjhdsf",
21
"ksdhdsf\nkjshfkjhdsf\n",