Remove unnecessary method call

pull/1285/head
YuviPanda 2023-06-11 12:55:34 +05:30
rodzic 3fb91c7f56
commit 6c719bd671
1 zmienionych plików z 1 dodań i 6 usunięć

Wyświetl plik

@ -229,11 +229,6 @@ class RBuildPack(PythonBuildPack):
)
)
@lru_cache()
def get_cran_mirror_url(self, snapshot_date):
# Date after which we will use rspm + binary packages instead of MRAN + source packages
return self.get_rspm_snapshot_url(snapshot_date)
@lru_cache()
def get_devtools_snapshot_url(self):
"""
@ -272,7 +267,7 @@ class RBuildPack(PythonBuildPack):
contents of runtime.txt.
"""
cran_mirror_url = self.get_cran_mirror_url(self.checkpoint_date)
cran_mirror_url = self.get_rspm_snapshot_url(self.checkpoint_date)
if self.platform != "linux/amd64":
raise RuntimeError(