def say_stats(self):

        now = datetime.datetime.now()
        reset_delta = now - self.last_reset

        log.info("Heartbeat: During the last %d hour(s) we saw %d connection(s)" \
                 " from %d unique address(es)." % \
                     (round(float(reset_delta.seconds/3600)) + reset_delta.days*24, self.n_connections,
                      len(self.unique_ips)))

        # Reset stats every 24 hours.
        if (reset_delta.days > 0):
            log.debug("Resetting heartbeat.")
            self.reset_stats()
Parse the repo line
dataset/ETHPy150Open isislovecruft/obfsproxy/obfsproxy/common/heartbeat.py/Heartbeat.say_stats--crossover with--dataset/ETHPy150Open saltstack/salt/salt/utils/kickstart.py/parse_repo