Mercurial > p > roundup > code
diff roundup/admin.py @ 2856:adec352e2ce0
don't try to import all backends in backends.__init__ unless we *want* to
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 03 Nov 2004 01:34:21 +0000 |
| parents | fcd76e1e97af |
| children | accb3b411ef6 |
line wrap: on
line diff
--- a/roundup/admin.py Wed Nov 03 01:10:53 2004 +0000 +++ b/roundup/admin.py Wed Nov 03 01:34:21 2004 +0000 @@ -16,7 +16,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: admin.py,v 1.83 2004-10-20 04:45:01 richard Exp $ +# $Id: admin.py,v 1.84 2004-11-03 01:34:21 richard Exp $ '''Administration commands for maintaining Roundup trackers. ''' @@ -336,7 +336,7 @@ templates = self.listTemplates() print _('Templates:'), ', '.join(templates.keys()) import roundup.backends - backends = roundup.backends.__all__ + backends = roundup.backends.list_backends() print _('Back ends:'), ', '.join(backends) def do_install(self, tracker_home, args): @@ -392,7 +392,7 @@ # select hyperdb backend import roundup.backends - backends = roundup.backends.__all__ + backends = roundup.backends.list_backends() backend = len(args) > 2 and args[2] or '' if backend not in backends: print _('Back ends:'), ', '.join(backends)
