diff options
author | Xavier Thomas <43476211+xavierohan@users.noreply.github.com> | 2020-01-24 12:25:10 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-24 12:25:10 +0530 |
commit | e9d7c1d600da865036bad490f16f2b1faab6c261 (patch) | |
tree | ad516d0e08777c30a104dd2020672b47187a809e | |
parent | 35e760c45524c452d84bfdf9df46046a203b9146 (diff) | |
parent | c6bea253654d9dbc5c1046c3c9b486a835529578 (diff) | |
download | numpy-e9d7c1d600da865036bad490f16f2b1faab6c261.tar.gz |
Merge branch 'master' into xavierohan-patch-1
-rw-r--r-- | pavement.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pavement.py b/pavement.py index b23762fe7..c1f29d867 100644 --- a/pavement.py +++ b/pavement.py @@ -86,12 +86,13 @@ def tarball_name(ftype='gztar'): Type of archive, default is 'gztar'. """ - root = 'numpy-%s' % FULLVERSION + root = f'numpy-{FULLVERSION}' if ftype == 'gztar': return root + '.tar.gz' elif ftype == 'zip': return root + '.zip' - raise ValueError(f"Unknown type {ftype}") + raise ValueError(f"Unknown type {type}") + @task def sdist(options): |