'Returns the :class:`LinuxDistro` this probe detected'

def get_distro(self):

    name = None
    version = UNKNOWN_DISTRO_VERSION
    release = UNKNOWN_DISTRO_RELEASE
    arch = UNKNOWN_DISTRO_ARCH
    distro = None
    if self.check_name_for_file():
        name = self.name_for_file()
        self.score += 1
    if self.check_name_for_file_contains():
        name = self.name_for_file_contains()
        self.score += 1
    if self.check_version():
        version = self.version()
        self.score += 1
    if self.check_release():
        release = self.release()
        self.score += 1
    arch = os.uname()[4]
    if (name is not None):
        distro = LinuxDistro(name, version, release, arch)
    else:
        distro = UNKNOWN_DISTRO
    return distro
