From f71de3e9a017d698be8ee4db3e2ec5fbc68bfc8c Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 28 Jan 2003 17:20:44 +0000 Subject: Everything worked in both the distutils distro and in Python 2.3cvs, so merge from the bsddb-bsddb3-schizo-branch back to the trunk. --- Lib/bsddb/test/test_dbtables.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Lib/bsddb/test/test_dbtables.py') diff --git a/Lib/bsddb/test/test_dbtables.py b/Lib/bsddb/test/test_dbtables.py index a250cf81c0..685b08d4ae 100644 --- a/Lib/bsddb/test/test_dbtables.py +++ b/Lib/bsddb/test/test_dbtables.py @@ -30,7 +30,12 @@ except ImportError: import unittest from test_all import verbose -from bsddb import db, dbtables +try: + # For Python 2.3 + from bsddb import db, dbtables +except ImportError: + # For earlier Pythons w/distutils pybsddb + from bsddb3 import db, dbtables -- cgit v1.2.1