comparison roundup/backends/__init__.py @ 854:3cdfa5d86cec

Added metakit backend to the db tests... ...and fixed the more easily fixable test failures.
author Richard Jones <richard@users.sourceforge.net>
date Thu, 11 Jul 2002 01:11:03 +0000
parents 65234f56b250
children 07d8a4e296f8
comparison
equal deleted inserted replaced
851:ced1fa60b9e2 854:3cdfa5d86cec
13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17 # 17 #
18 # $Id: __init__.py,v 1.12 2002-05-22 00:32:33 richard Exp $ 18 # $Id: __init__.py,v 1.13 2002-07-11 01:11:03 richard Exp $
19 19
20 __all__ = [] 20 __all__ = []
21 21
22 try: 22 try:
23 import sys, anydbm 23 import sys, anydbm
52 else: 52 else:
53 import back_bsddb3 53 import back_bsddb3
54 bsddb3 = back_bsddb3 54 bsddb3 = back_bsddb3
55 __all__.append('bsddb3') 55 __all__.append('bsddb3')
56 56
57 try:
58 import metakit
59 except ImportError, message:
60 if str(message) != 'No module named metakit': raise
61 else:
62 import back_metakit
63 metakit = back_metakit
64 __all__.append('metakit')
65
57 # 66 #
58 # $Log: not supported by cvs2svn $ 67 # $Log: not supported by cvs2svn $
68 # Revision 1.12 2002/05/22 00:32:33 richard
69 # . changed the default message list in issues to display the message body
70 # . made backends.__init__ be more specific about which ImportErrors it really
71 # wants to ignore
72 # . fixed the example addresses in the templates to use correct example domains
73 # . cleaned out the template stylesheets, removing a bunch of junk that really
74 # wasn't necessary (font specs, styles never used) and added a style for
75 # message content
76 #
59 # Revision 1.11 2002/02/16 08:39:42 richard 77 # Revision 1.11 2002/02/16 08:39:42 richard
60 # . #516854 ] "My Issues" and redisplay 78 # . #516854 ] "My Issues" and redisplay
61 # 79 #
62 # Revision 1.10 2002/01/22 07:08:50 richard 80 # Revision 1.10 2002/01/22 07:08:50 richard
63 # I was certain I'd already done this (there's even a change note in 81 # I was certain I'd already done this (there's even a change note in

Roundup Issue Tracker: http://roundup-tracker.org/