Parent: [a065db] (diff)

Download this file

mail_main.py    35 lines (25 with data), 716 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#-*- python -*-
import logging
# Pyforge-specific imports
from allura.app import Application
from allura.lib.helpers import mixin_reactors
# Local imports
from . import version
from .reactors import common_react
log = logging.getLogger(__name__)
class ForgeMailApp(Application):
'''Reactor-only app'''
__version__ = version.__version__
wsgi=None
installable=False
sitemap = []
sidebar_menu = []
tool_label='Mail'
default_mount_label='Mail'
default_mount_point='mail'
ordinal=0
def install(self, project):
raise NotImplemented, 'install'
def uninstall(self, project):
raise NotImplemented, 'install'
mixin_reactors(ForgeMailApp, common_react)