Mercurial > p > roundup > code
diff roundup/backends/__init__.py @ 1609:7625bf9feec1
2.3 compatibility
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 24 Apr 2003 06:58:05 +0000 |
| parents | 96cd422532ef |
| children | bd127cafe3a8 |
line wrap: on
line diff
--- a/roundup/backends/__init__.py Thu Apr 24 05:38:11 2003 +0000 +++ b/roundup/backends/__init__.py Thu Apr 24 06:58:05 2003 +0000 @@ -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 @@ 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
