|
a/mail/app/handlers/react.py |
|
b/mail/app/handlers/react.py |
|
... |
|
... |
28 |
return self.contents.get(which,None)
|
28 |
return self.contents.get(which,None)
|
29 |
|
29 |
|
30 |
@route("(appmount)\\.(apploc)@(proj)\\.(host)", appmount=".*", apploc=".*", proj=".*")
|
30 |
@route("(appmount)\\.(apploc)@(proj)\\.(host)", appmount=".*", apploc=".*", proj=".*")
|
31 |
@stateless
|
31 |
@stateless
|
32 |
def REACTING(message, post_name=None, appmount=None, apploc=None, proj=None, host=None):
|
32 |
def REACTING(message, post_name=None, appmount=None, apploc=None, proj=None, host=None):
|
33 |
conf = appconfig('config:%s' % 'development.ini',relative_to=os.getcwd())
|
33 |
conf = appconfig('config:%s' % '../pyforge/development.ini',relative_to=os.getcwd())
|
34 |
load_environment(conf.global_conf, conf.local_conf)
|
34 |
load_environment(conf.global_conf, conf.local_conf)
|
35 |
pylons.c._push_object(EmptyClass())
|
35 |
pylons.c._push_object(EmptyClass())
|
36 |
pylons.g._push_object(Globals())
|
36 |
pylons.g._push_object(Globals())
|
37 |
ming.configure(**conf)
|
37 |
ming.configure(**conf)
|
38 |
|
38 |
|