def __report_throughput(self, nbytes=None, nseconds=None, label=None): # {{{3
    if nbytes == None:
      self.bytes_read, self.time_spent_reading = \
          self.__report_throughput(self.bytes_read, self.time_spent_reading, "read")
      self.bytes_written, self.time_spent_writing = \
          self.__report_throughput(self.bytes_written, self.time_spent_writing, "write")
    else:
      if nbytes > 0:
        average = format_size(nbytes / max(1, nseconds))
        self.logger.info("Average %s speed is %s/s.", label, average)
        # Decrease the influence of previous measurements over time?
        if 60 > nseconds and nbytes > 1024**2:
          return nbytes / 2, nseconds / 2
      return nbytes, nseconds
dataset/ETHPy150Open xolox/dedupfs/dedupfs.py/DedupFS.__report_throughput/swapped operands of `>`