The bytes function in Python 2 is an alias of str() which takes only one argument. Changed the way unicode query strings are converted to utf-8 byte arrays.
Coverage remained the same at 94.301% when pulling f7041d5405b360b270012255e724ad7c09a8bab9 on Gloix:master into 933541f17784828369e3dc85dc6a5b2195048c8c on DinoTools:master.
The
bytes
function in Python 2 is an alias ofstr()
which takes only one argument. Changed the way unicode query strings are converted to utf-8 byte arrays.