access to function from cherrypy.tree

0 views
Skip to first unread message

Psihonavt

unread,
Oct 6, 2009, 7:02:13 AM10/6/09
to cherrypy-users
Hello guys!

I have a controller - Controller1, with one exposed function - fun1.
What I want is - get access to fun1 from another controller (i.e.
Controller2). Both controllers are mounted in common, another,
controller.

I've tried this: cherrypy.tree.apps
["mount_point_of_controller1"].root.fun1(*args), but nothing happens
(any erorrs, and no call of fun1)

thnx for any help.
Reply all
Reply to author
Forward
0 new messages