[Twisted-Python] Getting the options object from the service
Jonas Brunsgaard
jonas.brunsgaard at gmail.com
Mon Mar 17 07:02:52 MDT 2014
Hello Everybody
What is the prefered way to get the options object from the servicemaker
when using twistd plugins.
I guess i could access the object via
from twisted.plugins.my_plugin import myServiceMaker
options = myServicemMaker.options
But is there a better way to do it? Somthing like
from somwhere import get_service_config()
options = get_service_config()
All the best
--
Brunsgaard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20140317/5eda2d2e/attachment.html>
More information about the Twisted-Python
mailing list