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