=== modified file 'bin/fslist.py' --- bin/fslist.py 2018-11-21 15:51:58 +0000 +++ bin/fslist.py 2018-11-21 15:48:47 +0000 @@ -127,12 +127,9 @@ elif size > args.max_line_length: # Always use the multiline form for larger files mm = mmap.mmap(f.fileno(), 0, mmap.MAP_PRIVATE) - try: - flags = ('n' if mm[-1] == '\n' else 'N') - out.statement('C%s\t' % flags, '') - out.indent_copy(mm) - finally: - mm.close() + flags = ('n' if mm[-1] == '\n' else 'N') + out.statement('C%s\t' % flags, '') + out.indent_copy(mm) else: content = f.read() flags = 'N'