Return checksums by arch

def _select_md5sum_arch(self, md5sum, md5sum64):
        """Return checksums by arch
        """
        if md5sum and md5sum64:
            if self.meta.arch == "x86_64":
                return md5sum64
            else:
                return md5sum
        if md5sum:
            return md5sum
        else:
            return md5sum64