diff options
author | Florian Ludwig <f.ludwig@greyrook.com> | 2020-10-23 20:53:56 +0200 |
---|---|---|
committer | Florian Ludwig <f.ludwig@greyrook.com> | 2020-10-23 20:53:56 +0200 |
commit | 89c73600be7b2e751d51fa9be2d290c753209612 (patch) | |
tree | 81266ed7dc3ee9e94e87ccc6e21655e0df5a5ef1 | |
parent | 3c509626f60cecec4c0495931728b2128aa625d4 (diff) | |
download | rdflib-89c73600be7b2e751d51fa9be2d290c753209612.tar.gz |
remove old bsddb lib usage
bsddb was in the python2 stdlib but has been removed in python 3.
-rw-r--r-- | rdflib/plugins/stores/sleepycat.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/rdflib/plugins/stores/sleepycat.py b/rdflib/plugins/stores/sleepycat.py index 7729969e..b6b90470 100644 --- a/rdflib/plugins/stores/sleepycat.py +++ b/rdflib/plugins/stores/sleepycat.py @@ -12,16 +12,11 @@ def bb(u): try: - from bsddb import db + from bsddb3 import db has_bsddb = True except ImportError: - try: - from bsddb3 import db - - has_bsddb = True - except ImportError: - has_bsddb = False + has_bsddb = False if has_bsddb: |