• Arnaud Fontaine's avatar
    py3: Update Shared.DC.ZRDB.{sqltest,sqlvar} monkey patches. · 610972af
    Arnaud Fontaine authored
    This supports both python2 and python3. For python3, this decode() properly
    arguments returned by string_literal() to have str(), otherwise the query string
    is an str() (DocumentTemplate) and the arguments are bytes().
    
    In other places, bytes() is used directly but in this case this is not needed
    and would require monkey patching (at least) DocumentTemplate.
    610972af
sqltest.py 4.89 KB