Skip to content

Commit c82ac0f

Browse files
author
Richard Jones
committed
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
1 parent e35b6fe commit c82ac0f

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
# $Id: __init__.py,v 1.2 2001-07-23 04:33:21 anthonybaxter Exp $
1+
# $Id: __init__.py,v 1.3 2001-07-23 23:16:01 richard Exp $
22

33
from instance_config import *
44
from dbinit import *
5+
from interfaces import *
56

67
#
78
# $Log: not supported by cvs2svn $
9+
# Revision 1.2 2001/07/23 04:33:21 anthonybaxter
10+
# split __init__.py into 2. dbinit and instance_config.
11+
#
812
#
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# $Id: interfaces.py,v 1.1 2001-07-23 23:16:01 richard Exp $
2+
3+
import instance_config
4+
from roundup import cgi_client, mailgw
5+
6+
class Client(cgi_client.Client):
7+
''' derives basic mail gateway implementation from the standard module,
8+
with any specific extensions
9+
'''
10+
TEMPLATES = instance_config.TEMPLATES
11+
pass
12+
13+
class MailGW(mailgw.MailGW):
14+
''' derives basic mail gateway implementation from the standard module,
15+
with any specific extensions
16+
'''
17+
ISSUE_TRACKER_EMAIL = instance_config.ISSUE_TRACKER_EMAIL
18+
ADMIN_EMAIL = instance_config.ADMIN_EMAIL
19+
MAILHOST = instance_config.MAILHOST
20+
21+
#
22+
# $Log: not supported by cvs2svn $
23+
#
24+
25+

0 commit comments

Comments
 (0)