def _check_nailgun_state(self, new_fingerprint):
    running = self.is_alive()
    updated = self.needs_restart(new_fingerprint)
    logging.debug('Nailgun {nailgun} state: updated={up!s} running={run!s} fingerprint={old_fp} new_fingerprint={new_fp} distribution={old_dist} new_distribution={new_dist}'.format(nailgun=self._identity, up=updated, run=running, old_fp=self.fingerprint, new_fp=new_fingerprint, old_dist=self.cmd, new_dist=self._distribution.java))
    return (running, updated)
def _check_nailgun_state(self, new_fingerprint):
    running = self.is_alive()
    updated = self.needs_restart(new_fingerprint)
    logging.debug('Nailgun {nailgun} state: updated={up!s} running={run!s} fingerprint={old_fp} new_fingerprint={new_fp} distribution={old_dist} new_distribution={new_dist}'.format(nailgun=self._identity, up=updated, run=running, old_fp=self.fingerprint, new_fp=new_fingerprint, old_dist=self.cmd, new_dist=self._distribution.java))
    return (running, updated)