Mercurial > cgi-bin > hgweb.cgi > tincan
diff tincan.py @ 30:f34d5a90d618 draft header-includes
Fix minor bug in error handling.
author | David Barts <n5jrn@me.com> |
---|---|
date | Mon, 27 May 2019 14:58:40 -0700 |
parents | 2e3ac3d7b0a4 |
children | 443a0001d841 |
line wrap: on
line diff
--- a/tincan.py Mon May 27 14:11:22 2019 -0700 +++ b/tincan.py Mon May 27 14:58:40 2019 -0700 @@ -483,7 +483,7 @@ try: include = _IncludedFile(include) except ValueError as e: - raise TinCanError("{0}: bad #include: {1!s}", self._urlpath, e) from e + raise TinCanError("{0}: bad #include: {1!s}".format(self._urlpath, e)) from e if include.in_lib: fdir = os.path.join(self._fsroot, _WINF, "tlib") else: