• Julien Muchembled's avatar
    Fix a few issues with ZODB5 · 1316c225
    Julien Muchembled authored
    In the Importer storage backend, the repickler code never really worked with
    ZODB 5 (use of protocol > 1), and now the test does not pass anymore.
    
    The other issues caused by ZODB commit 12ee41c47310156027a674932df34b60de86ba36
    are fixed:
    
      TypeError: list indices must be integers, not binary
    
      ValueError: unsupported pickle protocol: 3
    
    Although not necessary as long as we don't support Python 3,
    this commit also replaces `str` by `bytes` in a few places.
    1316c225
importer.py 20.1 KB