Fix problem spotted by Coverity that occurs if tzinfo.tzname().replace()
Neal Norwitz authored
returns a non-string when converting %Z.

Will backport.
b06a2b61
Name Last commit Last update
crashers
decimaltestdata
leakers
output
185test.db
README
__init__.py
audiotest.au
autotest.py
bad_coding.py
bad_coding2.py
badsyntax_future3.py
badsyntax_future4.py
badsyntax_future5.py
badsyntax_future6.py
badsyntax_future7.py
badsyntax_future8.py
badsyntax_future9.py
badsyntax_nocaret.py
cfgparser.1
check_soundcard.vbs
cjkencodings_test.py
doctest_aliases.py
double_const.py
exception_hierarchy.txt
greyrgb.uue
inspect_fodder.py
inspect_fodder2.py
list_tests.py
mapping_tests.py
outstanding_bugs.py
pickletester.py
pyclbr_input.py
pydocfodder.py
pystone.py
re_tests.py
regex_tests.py
regrtest.py
reperf.py
sample_doctest.py
seq_tests.py
sortperf.py
string_tests.py
test.xml
test.xml.out
test_MimeWriter.py
test_StringIO.py
test___all__.py
test___future__.py
test__locale.py
test_aepack.py
test_al.py
test_anydbm.py
test_applesingle.py
test_array.py
test_ast.py
test_asynchat.py
test_atexit.py
test_audioop.py
test_augassign.py
test_base64.py
test_bastion.py
test_binascii.py
test_binhex.py
test_binop.py
test_bisect.py
test_bool.py
test_bsddb.py
test_bsddb185.py
test_bsddb3.py
test_bufio.py
test_builtin.py
test_bz2.py
test_cProfile.py
test_calendar.py
test_call.py
test_capi.py
test_cd.py
test_cfgparser.py
test_cgi.py
test_charmapcodec.py
test_cl.py
test_class.py
test_cmath.py
test_cmd_line.py
test_code.py
test_codeccallbacks.py
test_codecencodings_cn.py
test_codecencodings_hk.py
test_codecencodings_jp.py
test_codecencodings_kr.py
test_codecencodings_tw.py
test_codecmaps_cn.py
test_codecmaps_hk.py
test_codecmaps_jp.py
test_codecmaps_kr.py
test_codecmaps_tw.py
test_codecs.py
test_codeop.py
test_coding.py
test_coercion.py
test_colorsys.py
test_commands.py
test_compare.py