filter-repo: encapsulate input line advancement

Have all callers of input.readline() be done through _advance_nextline()

Signed-off-by: Elijah Newren <newren@gmail.com>
pull/13/head
Elijah Newren 16 years ago
parent 85b1980d17
commit bfbc07d3a7

@ -462,7 +462,7 @@ class FastExportFilter(object):
current_stream_number += 1
# Run over the input and do the filtering
self.nextline = self.input.readline()
self._advance_nextline()
while self.nextline:
if self.nextline.startswith('blob'):
self._parse_blob()

Loading…
Cancel
Save