diff options
Diffstat (limited to 'pavement.py')
-rw-r--r-- | pavement.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pavement.py b/pavement.py index 494d8b79d..ce4b63073 100644 --- a/pavement.py +++ b/pavement.py @@ -86,12 +86,12 @@ 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("Unknown type %s" % type) + raise ValueError(f"Unknown type {type}") @task def sdist(options): |