From: Daan De Meyer Date: Mon, 12 Jun 2023 11:58:26 +0000 (+0200) Subject: centos: Remove unused _epel_gpgurl() method X-Git-Tag: v15~114^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f48fb8f61cb05640206d856e9bd2be6ed4fb1acb;p=thirdparty%2Fmkosi.git centos: Remove unused _epel_gpgurl() method --- diff --git a/mkosi/distributions/centos.py b/mkosi/distributions/centos.py index a24f4b76f..681e47493 100644 --- a/mkosi/distributions/centos.py +++ b/mkosi/distributions/centos.py @@ -128,10 +128,6 @@ class CentosInstaller(DistributionInstaller): def _gpgurl(release: int) -> str: return "https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official" - @staticmethod - def _epel_gpgurl() -> str: - return "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-$releasever" - @staticmethod def _extras_gpgurl(release: int) -> str: return "https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Extras" @@ -146,7 +142,7 @@ class CentosInstaller(DistributionInstaller): @classmethod def _epel_repos(cls, config: MkosiConfig) -> list[Repo]: - epel_gpgurl = cls._epel_gpgurl() + epel_gpgurl = "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-$releasever" if config.local_mirror: return []