Code

Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Mon, 23 Jul 2001 23:16:01 +0000 (23:16 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Mon, 23 Jul 2001 23:16:01 +0000 (23:16 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@59 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/templates/extended/__init__.py
roundup/templates/extended/interfaces.py [new file with mode: 0644]

index a594565a41e3686322a8a7de766c2907ed829546..c6534be83cdac2c058e2d6d3281423b5527372aa 100644 (file)
@@ -1,8 +1,12 @@
-# $Id: __init__.py,v 1.2 2001-07-23 04:33:21 anthonybaxter Exp $
+# $Id: __init__.py,v 1.3 2001-07-23 23:16:01 richard Exp $
 
 from instance_config import *
 from dbinit import *
+from interfaces import *
 
 # 
 # $Log: not supported by cvs2svn $
+# Revision 1.2  2001/07/23 04:33:21  anthonybaxter
+# split __init__.py into 2. dbinit and instance_config.
+#
 #
diff --git a/roundup/templates/extended/interfaces.py b/roundup/templates/extended/interfaces.py
new file mode 100644 (file)
index 0000000..af495fe
--- /dev/null
@@ -0,0 +1,25 @@
+# $Id: interfaces.py,v 1.1 2001-07-23 23:16:01 richard Exp $
+
+import instance_config
+from roundup import cgi_client, mailgw 
+
+class Client(cgi_client.Client): 
+    ''' derives basic mail gateway implementation from the standard module, 
+        with any specific extensions 
+    ''' 
+    TEMPLATES = instance_config.TEMPLATES
+    pass 
+class MailGW(mailgw.MailGW): 
+    ''' derives basic mail gateway implementation from the standard module, 
+        with any specific extensions 
+    ''' 
+    ISSUE_TRACKER_EMAIL = instance_config.ISSUE_TRACKER_EMAIL
+    ADMIN_EMAIL = instance_config.ADMIN_EMAIL
+    MAILHOST = instance_config.MAILHOST
+
+#
+# $Log: not supported by cvs2svn $
+#
+
+