Skip to content

Commit 250191c

Browse files
author
Richard Jones
committed
Whee! It's not finished yet, but I can create a new instance...
...and play with it a little bit :)
1 parent b53d640 commit 250191c

File tree

2 files changed

+1637
-1
lines changed

2 files changed

+1637
-1
lines changed

roundup/backends/__init__.py

Lines changed: 14 additions & 1 deletion
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.13 2002-07-11 01:11:03 richard Exp $
18+
# $Id: __init__.py,v 1.14 2002-08-22 07:56:51 richard Exp $
1919

2020
__all__ = []
2121

@@ -36,6 +36,15 @@
3636
anydbm = back_anydbm
3737
__all__.append('anydbm')
3838

39+
try:
40+
import gadfly
41+
except ImportError, message:
42+
if str(message) != 'No module named gadfly': raise
43+
else:
44+
import back_gadfly
45+
bsddb = back_gadfly
46+
__all__.append('gadfly')
47+
3948
try:
4049
import bsddb
4150
except ImportError, message:
@@ -65,6 +74,10 @@
6574

6675
#
6776
# $Log: not supported by cvs2svn $
77+
# Revision 1.13 2002/07/11 01:11:03 richard
78+
# Added metakit backend to the db tests and fixed the more easily fixable test
79+
# failures.
80+
#
6881
# Revision 1.12 2002/05/22 00:32:33 richard
6982
# . changed the default message list in issues to display the message body
7083
# . made backends.__init__ be more specific about which ImportErrors it really

0 commit comments

Comments
 (0)