summaryrefslogtreecommitdiff
path: root/paste/deploy/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'paste/deploy/util.py')
-rw-r--r--paste/deploy/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/deploy/util.py b/paste/deploy/util.py
index 2a56a07..d30466a 100644
--- a/paste/deploy/util.py
+++ b/paste/deploy/util.py
@@ -33,7 +33,7 @@ def fix_type_error(exc_info, callable, varargs, kwargs):
kwargs = sorted(kwargs.items())
args += ', '.join(['%s=...' % n for n, v in kwargs])
gotspec = '(%s)' % args
- msg = '%s; got %s, wanted %s' % (exc_info[1], gotspec, argspec)
+ msg = f'{exc_info[1]}; got {gotspec}, wanted {argspec}'
exc_info[1].args = (msg,)
return exc_info