Skip to content

Commit c326a75

Browse files
author
Richard Jones
committed
2.3 compatibility
1 parent 9fa9c56 commit c326a75

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.20 2002-10-07 00:52:51 richard Exp $
18+
# $Id: __init__.py,v 1.20.2.1 2003-04-24 06:58:05 richard Exp $
1919

2020
''' Container for the hyperdb storage backend implementations.
2121
@@ -68,7 +68,7 @@
6868
try:
6969
import bsddb
7070
except ImportError, message:
71-
if str(message) != 'No module named bsddb': raise
71+
if not str(message).startswith('No module named'): raise
7272
else:
7373
import back_bsddb
7474
bsddb = back_bsddb

0 commit comments

Comments
 (0)