summaryrefslogtreecommitdiff
path: root/pavement.py
diff options
context:
space:
mode:
authorXavier Thomas <43476211+xavierohan@users.noreply.github.com>2020-01-24 11:06:05 +0530
committerGitHub <noreply@github.com>2020-01-24 11:06:05 +0530
commitaa48921879930b7fb8990f5a14837c71121337fc (patch)
treec61ff99699bd4aa3a7ca585bbfd6daf26dc278d9 /pavement.py
parentd7cdf5bcc55ffda0d09fcefea97f60bbd53ebc5d (diff)
downloadnumpy-aa48921879930b7fb8990f5a14837c71121337fc.tar.gz
Updated pavement.py with f-strings
Diffstat (limited to 'pavement.py')
-rw-r--r--pavement.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pavement.py b/pavement.py
index 494d8b79d..b23762fe7 100644
--- a/pavement.py
+++ b/pavement.py
@@ -91,7 +91,7 @@ def tarball_name(ftype='gztar'):
return root + '.tar.gz'
elif ftype == 'zip':
return root + '.zip'
- raise ValueError("Unknown type %s" % type)
+ raise ValueError(f"Unknown type {ftype}")
@task
def sdist(options):