Commit 5e2ed5e7 authored by Jérome Perrin's avatar Jérome Perrin

analyze: explicitly use gdbm as dbm

and use six.moves for python3 compatibility.

Previously we were using "anydbm" which selects dbhash, gdbm or dbm, but
opening the db with the f flag that's only valid for gdm, so de-facto we
were supporting only gdbm.
parent 79aa0c45
......@@ -9,7 +9,7 @@ from __future__ import print_function
import sys
import os
import getopt
import anydbm as dbm
from six.moves import dbm_gnu as dbm
import tempfile
import shutil
from ZODB.FileStorage import FileIterator, packed_version
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment