diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index aa3b49c809..3248e3678d 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1010,12 +1010,13 @@ def dump_html_pkg(f, pkg): if pkg.latest_version['version'] is None: latest_version_text = "Found, but no version" else: - latest_version_text = f"""{str(pkg.latest_version['version'])}""" + latest_version_text = f"""""" \ + f"""{str(pkg.latest_version['version'])}""" latest_version_text += "
" if pkg.latest_version['status'] == RM_API_STATUS_FOUND_BY_DISTRO: - latest_version_text += f'found by distro' + latest_version_text += 'found by distro' else: latest_version_text += "found by guess" @@ -1107,9 +1108,11 @@ def dump_html_pkg(f, pkg): if not pkg.is_status_ok("cpe"): if pkg.is_actual_package and pkg.current_version: if pkg.cpeid: - f.write(f"""
{pkg.status['cpe'][1]} (Search)\n""") # noqa: E501 + f.write(f"""
{pkg.status['cpe'][1]} (Search)\n""") else: - f.write(f""" {pkg.status['cpe'][1]} (Search)\n""") # noqa: E501 + f.write(f""" {pkg.status['cpe'][1]} (Search)\n""") else: f.write(" %s\n" % pkg.status['cpe'][1])