• Kirill Smelkov's avatar
    Fix breakage with zodbpickle >= 2 · d5afef8e
    Kirill Smelkov authored
    Starting from zodbpickle 2 its binary class does not allow users to set
    arbitrary attributes and so
    
    	binary._pack = bytes.__str__
    
    fails with
    
    	TypeError: can't set attributes of built-in/extension type 'zodbpickle.binary'
    
    -> Fix it by explicitly checking for binary type on encoding instead of
    setting binary._pack
    
    See slapos@27f574bc for pre-history.
    
    /cc @jerome
    d5afef8e
Name
Last commit
Last update
neo Loading commit data...
tools Loading commit data...
.coveragerc Loading commit data...
.gitignore Loading commit data...
BUGS.rst Loading commit data...
CHANGELOG.rst Loading commit data...
COPYING Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
TODO Loading commit data...
UPGRADE.rst Loading commit data...
importer.conf Loading commit data...
neo.conf Loading commit data...
neoadmin Loading commit data...
neoctl Loading commit data...
neolog Loading commit data...
neomaster Loading commit data...
neomigrate Loading commit data...
neostorage Loading commit data...
setup.py Loading commit data...