Mercurial > p > roundup > code
diff roundup/backends/__init__.py @ 1249:6c24a86a12ae
Fixes for SourceForge tracker bugs.
- fixed filter() with no sort/group [SF#618614]
- fixed register with no session [SF#618611]
- fixed log / pid file path handling in roundup-server [SF#617981]
- fixed old gadfly compatibiltiy problem, for sure this time [SF#612873]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 07 Oct 2002 00:52:51 +0000 |
| parents | 8dd4f736370b |
| children | 4884fb0860f9 |
line wrap: on
line diff
--- a/roundup/backends/__init__.py Fri Oct 04 06:34:07 2002 +0000 +++ b/roundup/backends/__init__.py Mon Oct 07 00:52:51 2002 +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.19 2002-10-03 06:56:29 richard Exp $ +# $Id: __init__.py,v 1.20 2002-10-07 00:52:51 richard Exp $ ''' Container for the hyperdb storage backend implementations. @@ -46,7 +46,11 @@ import gadfly import gadfly.client except ImportError, message: - if str(message) != 'No module named gadfly': raise + if str(message) == 'No module named client': + # don't keep the old gadfly around + del gadfly + elif str(message) != 'No module named gadfly': + raise else: import back_gadfly gadfly = back_gadfly
