diff options
Diffstat (limited to 'Lib/bsddb/dbtables.py')
-rw-r--r-- | Lib/bsddb/dbtables.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/bsddb/dbtables.py b/Lib/bsddb/dbtables.py index d052ca5..6edfd29 100644 --- a/Lib/bsddb/dbtables.py +++ b/Lib/bsddb/dbtables.py @@ -26,11 +26,11 @@ from types import ListType, StringType import cPickle as pickle try: + # For Pythons w/distutils pybsddb + from bsddb3.db import * +except ImportError: # For Python 2.3 from bsddb.db import * -except ImportError: - # For earlier Pythons w/distutils pybsddb - from bsddb3.db import * class TableDBError(StandardError): |