line_formatted
-> valid
so tags don't cause us to subvert truncation
This commit is contained in:
parent
1cbc2ce31b
commit
c463fa20a4
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class ParsedLine(object):
|
||||||
|
|
||||||
valid = line_formatted[:valid_index]
|
valid = line_formatted[:valid_index]
|
||||||
if tags_formatted:
|
if tags_formatted:
|
||||||
valid = "%s %s" % (tags_formatted, line_formatted)
|
valid = "%s %s" % (tags_formatted, valid)
|
||||||
overflow = line_formatted[valid_index:]
|
overflow = line_formatted[valid_index:]
|
||||||
|
|
||||||
return valid, overflow
|
return valid, overflow
|
||||||
|
|
Loading…
Reference in a new issue