Show More
@@ -436,7 +436,7 b' class fncache(object):' | |||
|
436 | 436 | self.entries = set(decodedir(fp.read()).splitlines()) |
|
437 | 437 | if '' in self.entries: |
|
438 | 438 | fp.seek(0) |
|
439 | for n, line in enumerate(fp): | |
|
439 | for n, line in enumerate(util.iterfile(fp)): | |
|
440 | 440 | if not line.rstrip('\n'): |
|
441 | 441 | t = _('invalid entry in fncache, line %d') % (n + 1) |
|
442 | 442 | raise error.Abort(t) |
General Comments 0
You need to be logged in to leave comments.
Login now