comparison roundup/backends/__init__.py @ 2186:3f89c8ffe4f1

version info in scripts
author Richard Jones <richard@users.sourceforge.net>
date Mon, 05 Apr 2004 23:43:04 +0000
parents fc52d57c6c3e
children 2f27ec0a8ebb 66db6834fcd5
comparison
equal deleted inserted replaced
2185:c52a931879c4 2186:3f89c8ffe4f1
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.26 2004-02-11 23:55:08 richard Exp $ 18 # $Id: __init__.py,v 1.27 2004-04-05 23:43:03 richard Exp $
19 19
20 '''Container for the hyperdb storage backend implementations. 20 '''Container for the hyperdb storage backend implementations.
21 21
22 The __all__ variable is constructed containing only the backends which are 22 The __all__ variable is constructed containing only the backends which are
23 available. 23 available.
24 ''' 24 '''
25 __docformat__ = 'restructuredtext' 25 __docformat__ = 'restructuredtext'
26 26
27 __all__ = [] 27 __all__ = []
28 28
29 for backend in ['anydbm', ('mysql', 'MySQLdb'), 'bsddb', 'bsddb3', 'sqlite', 29 for backend in ['anydbm', ('mysql', 'MySQLdb'), ('bsddb', '_bsddb'),
30 'metakit', ('postgresql', 'psycopg')]: 30 'bsddb3', 'sqlite', 'metakit', ('postgresql', 'psycopg')]:
31 if len(backend) == 2: 31 if len(backend) == 2:
32 backend, backend_module = backend 32 backend, backend_module = backend
33 else: 33 else:
34 backend_module = backend 34 backend_module = backend
35 try: 35 try:

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