summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@darkstarsystems.com>2018-01-16 01:20:16 (GMT)
committerGary Oberbrunner <garyo@darkstarsystems.com>2018-01-16 02:03:05 (GMT)
commitd7897afc9500e7c29d59fba24e6f738093cc515a (patch)
treef185076bd37596fe6422253d28f27f6e8a184d80 /doc
parent25887d95760e9e4ac65f8bbde3a99a0b3a1d471a (diff)
downloadSCons-d7897afc9500e7c29d59fba24e6f738093cc515a.zip
SCons-d7897afc9500e7c29d59fba24e6f738093cc515a.tar.gz
SCons-d7897afc9500e7c29d59fba24e6f738093cc515a.tar.bz2
Prevent TypeError with None in error message
I ran into a problem where SCons was generating an error that contained a None (don't ask me how), and this got passed through to_str() which caused a TypeError because None isn't a bytes-like object. I fixed it two ways: enable to_str and to_bytes to handle None without complaint, and change Errors.py to use to_String() instead of to_str(), since it seems more robust.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions