Skip to content

Commit 9c99083

Browse files
author
Richard Jones
committed
2.3 compatibility
1 parent b03a10c commit 9c99083

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roundup/backends/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: __init__.py,v 1.22 2003-03-18 00:50:24 richard Exp $
18+
# $Id: __init__.py,v 1.23 2003-04-24 06:55:24 richard Exp $
1919

2020
''' Container for the hyperdb storage backend implementations.
2121
@@ -63,7 +63,7 @@
6363
try:
6464
import bsddb
6565
except ImportError, message:
66-
if str(message) != 'No module named bsddb': raise
66+
if not str(message).startswith('No module named'): raise
6767
else:
6868
import back_bsddb
6969
bsddb = back_bsddb

0 commit comments

Comments
 (0)