diff roundup/templates/classic/__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 6ff85bc2dd56
children 0791d13baea7
line wrap: on
line diff
--- a/roundup/templates/classic/__init__.py	Tue Jul 24 09:50:52 2001 +0000
+++ b/roundup/templates/classic/__init__.py	Tue Jul 24 10:46:22 2001 +0000
@@ -1,11 +1,18 @@
-# $Id: __init__.py,v 1.1 2001-07-23 23:28:43 richard Exp $
+# $Id: __init__.py,v 1.2 2001-07-24 10:46:22 anthonybaxter Exp $
 
+import sys
 from instance_config import *
-from dbinit import *
+try:
+    from dbinit import *
+except:
+    pass # in install dir (probably :)
 from interfaces import *
 
 # 
 # $Log: not supported by cvs2svn $
+# Revision 1.1  2001/07/23 23:28:43  richard
+# Adding the classic template
+#
 # Revision 1.3  2001/07/23 23:16:01  richard
 # Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
 #

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