• Kirill Smelkov's avatar
    zodbdump: Use bytes to emit its output · d3152c78
    Kirill Smelkov authored
    Zodbdump format is text-binary and is saved into files opened in binary
    mode. -> We have to emit bytes - not strings - into it, since otherwise
    on Python3 it would break.
    
    This needs qq support from pygolang[1] to be able to use qq with both
    string and bytestring format, e.g. for
    
    	 "hello %s" % qq(name),	and
    	b"hello %s" % qq(name)
    
    to give the same output irregardless of whether name is str or bytes.
    
    [1] nexedi/pygolang!1
    d3152c78
Name
Last commit
Last update
zodbtools Loading commit data...
.gitignore Loading commit data...
CHANGELOG.rst Loading commit data...
COPYING Loading commit data...
LICENSE-ZPL.txt Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...