diff options
author | Bert JW Regeer <xistence@0x58.com> | 2022-05-15 19:13:16 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-15 19:13:16 -0600 |
commit | ee1d364dabd544fe4bf355b2c6578e4237b03992 (patch) | |
tree | 42802e9e35178d70af36f03b90a0da9ea0e6e618 /paste/deploy/util.py | |
parent | d7dbb23830f9033022d76fec16b864cc47241b32 (diff) | |
parent | c6a3122b374d9ec3e9f06beefcd31a0c8136f7f1 (diff) | |
download | pastedeploy-git-ee1d364dabd544fe4bf355b2c6578e4237b03992.tar.gz |
Merge pull request #34 from Pylons/refactor-package
Diffstat (limited to 'paste/deploy/util.py')
-rw-r--r-- | paste/deploy/util.py | 2 |
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 |