Fix text warning

`lineno` didn't exist.