def read(self, path, length, offset): # {{{3
    try:
      self.__log_call('read', 'read(%r, %i, %i)', path, length, offset)
      start_time = time.time()
      buf = self.__get_file_buffer(path)
      buf.seek(offset)
      data = buf.read(length)
      self.time_spent_reading += start_time - time.time()
      self.bytes_read += len(data)
      return data
    except Exception, e:
      return self.__except_to_status('read', e, code=errno.EIO)
dataset/ETHPy150Open xolox/dedupfs/dedupfs.py/DedupFS.read/swapped operands of `-`