Mercurial > p > roundup > code
diff roundup/templates/extended/__init__.py @ 68:5e71aaa87e5b
Added templatebuilder module.
two functions - one to pack up the html base, one to unpack it. Packed
up the two standard templates into htmlbases. Modified __init__ to
install them.
__init__.py magic was needed for the rather high levels of wierd import magic.
Reducing level of import magic == (good, future)
| author | Anthony Baxter <anthonybaxter@users.sourceforge.net> |
|---|---|
| date | Tue, 24 Jul 2001 10:46:22 +0000 |
| parents | bd7be96eb56d |
| children | 0791d13baea7 |
line wrap: on
line diff
--- a/roundup/templates/extended/__init__.py Tue Jul 24 09:50:52 2001 +0000 +++ b/roundup/templates/extended/__init__.py Tue Jul 24 10:46:22 2001 +0000 @@ -1,11 +1,18 @@ -# $Id: __init__.py,v 1.3 2001-07-23 23:16:01 richard Exp $ +# $Id: __init__.py,v 1.4 2001-07-24 10:46:22 anthonybaxter Exp $ from instance_config import * -from dbinit import * +try: + from dbinit import * +except ImportError: + pass # in installdir (probably :) + from interfaces import * # # $Log: not supported by cvs2svn $ +# Revision 1.3 2001/07/23 23:16:01 richard +# Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff. +# # Revision 1.2 2001/07/23 04:33:21 anthonybaxter # split __init__.py into 2. dbinit and instance_config. #
