From: richard Date: Thu, 24 Apr 2003 06:58:05 +0000 (+0000) Subject: 2.3 compatibility X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e8d5854a0d511a86a50e04a262a61ae416ca40a1;p=roundup.git 2.3 compatibility git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1678 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/backends/__init__.py b/roundup/backends/__init__.py index 48affd1..16c16f2 100644 --- a/roundup/backends/__init__.py +++ b/roundup/backends/__init__.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: __init__.py,v 1.22 2003-03-18 00:50:24 richard Exp $ +# $Id: __init__.py,v 1.23 2003-04-24 06:55:24 richard Exp $ ''' Container for the hyperdb storage backend implementations. @@ -63,7 +63,7 @@ else: try: import bsddb except ImportError, message: - if str(message) != 'No module named bsddb': raise + if not str(message).startswith('No module named'): raise else: import back_bsddb bsddb = back_bsddb