summaryrefslogtreecommitdiff
path: root/pavement.py
diff options
context:
space:
mode:
Diffstat (limited to 'pavement.py')
-rw-r--r--pavement.py5
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):