• Julien Muchembled's avatar
    Fix a few issues with ZODB5 · d7f3bc57
    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.
    d7f3bc57
transactions.py 6.13 KB