From e8d5854a0d511a86a50e04a262a61ae416ca40a1 Mon Sep 17 00:00:00 2001 From: richard Date: Thu, 24 Apr 2003 06:58:05 +0000 Subject: [PATCH] 2.3 compatibility git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1678 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/backends/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2