Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
sage_bootstrap.package.Package.tarball_pattern: Simplify code
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Nov 23, 2020
1 parent c0a0329 commit f33c363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/sage_bootstrap/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def tarball_filename(self):
"""
pattern = self.tarball_pattern
if pattern:
return self.tarball_pattern.replace('VERSION', self.version)
return pattern.replace('VERSION', self.version)
else:
return None

Expand Down

0 comments on commit f33c363

Please sign in to comment.