Skip to content

Commit 6c719bd

Browse files
committed
Remove unnecessary method call
1 parent 3fb91c7 commit 6c719bd

File tree

1 file changed

+1
-6
lines changed
  • repo2docker/buildpacks

1 file changed

+1
-6
lines changed

repo2docker/buildpacks/r.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -229,11 +229,6 @@ def get_rspm_snapshot_url(self, snapshot_date, max_days_prior=7):
229229
)
230230
)
231231

232-
@lru_cache()
233-
def get_cran_mirror_url(self, snapshot_date):
234-
# Date after which we will use rspm + binary packages instead of MRAN + source packages
235-
return self.get_rspm_snapshot_url(snapshot_date)
236-
237232
@lru_cache()
238233
def get_devtools_snapshot_url(self):
239234
"""
@@ -272,7 +267,7 @@ def get_build_scripts(self):
272267
contents of runtime.txt.
273268
"""
274269

275-
cran_mirror_url = self.get_cran_mirror_url(self.checkpoint_date)
270+
cran_mirror_url = self.get_rspm_snapshot_url(self.checkpoint_date)
276271

277272
if self.platform != "linux/amd64":
278273
raise RuntimeError(

0 commit comments

Comments
 (0)