Revision e687ec01 lib/utils/io.py

b/lib/utils/io.py
511 511
  try:
512 512
    fd.seek(0, 2)
513 513
    pos = fd.tell()
514
    pos = max(0, pos-4096)
514
    pos = max(0, pos - 4096)
515 515
    fd.seek(pos, 0)
516 516
    raw_data = fd.read()
517 517
  finally:

Also available in: Unified diff