diff options
| author | bwarsaw | 2002-11-18 06:15:20 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-11-18 06:15:20 +0000 |
| commit | 371d74f718cee5ad4f36f610628f8641a3fb4e8e (patch) | |
| tree | d9f682098f15fe2a19e352b85b43f14edd5806e9 /Mailman/Cgi/admin.py | |
| parent | 0d1ba8239d1084aa8a664e3996bfa2200f10f866 (diff) | |
| download | mailman-371d74f718cee5ad4f36f610628f8641a3fb4e8e.tar.gz mailman-371d74f718cee5ad4f36f610628f8641a3fb4e8e.tar.zst mailman-371d74f718cee5ad4f36f610628f8641a3fb4e8e.zip | |
maketext(): If the interpolation fails with a UnicodeError, we try to
unicode-ify the template and try the interpolation again. The error
can occur if the template has non-ascii characters in it and one of
the interpolation values is a unicode.
This was getting swallowed because UnicodeError is a subclass of
ValueError.
Diffstat (limited to 'Mailman/Cgi/admin.py')
0 files changed, 0 insertions, 0 deletions
