19
19
from bzrlib.errors import BinaryFile
20
20
from bzrlib.iterablefile import IterableFile
21
21
from bzrlib.osutils import file_iterator
23
25
"""Produce a file iterator that is guaranteed to be text, without seeking.
24
26
BinaryFile is raised if the file contains a NUL in the first 1024 bytes.