diff hgweb.cgi @ 27110:f04bd381e8c0

ui: avoid needless casting to a str In many cases, we don't need to cast to a str because the object will be cast when it is eventually written. As part of testing this, I added some code to raise exceptions when a non-str was passed in and wasn't able to trigger it. i.e. we're already passing str into this function everywhere, so the casting isn't necessary.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 22 Nov 2015 14:44:55 -0800
parents 4b0fc75f9403
children 47ef023d0165
line wrap: on
line diff