Trees | Indices | Help |
|
---|
|
1 ############################################################################## 2 # 3 # Copyright (C) Zenoss, Inc. 2007, all rights reserved. 4 # 5 # This content is made available according to terms specified in 6 # License.zenoss under the directory where your Zenoss product is installed. 7 # 8 ############################################################################## 9 10 11 """Turn ZenHub into a module""" 12 13 XML_RPC_PORT = 8081 14 PB_PORT = 8789 15 ZENHUB_ZENRENDER = "zenhubrender" 1618 # Tries to install epoll first, then poll, and if neither are 19 # available, the default select reactor will install when 20 # twisted.internet.reactor is imported. 21 try: 22 from select import epoll 23 from twisted.internet import epollreactor 24 epollreactor.install() 25 except ImportError: 26 try: 27 from select import poll 28 from twisted.internet import pollreactor 29 pollreactor.install() 30 except ImportError: 31 pass32
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1.1812 on Mon Jul 30 17:11:29 2012 | http://epydoc.sourceforge.net |