| Trees | Indices | Help |
|
|---|
|
|
1 ##############################################################################
2 #
3 # Copyright (C) Zenoss, Inc. 2008, 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 # _xmlplus is included in two packages, so we get an annoying UserWarning when
12 # we import pkg_resources. If everything imports from here, we can filter out
13 # the warning centrally.
14 import warnings
15 warnings.filterwarnings('ignore', '.*_xmlplus.*', UserWarning)
16
17 # There is a nasty incompatibility between pkg_resources and twisted.
18 # Importing pkg_resources before the twisted reactor works around the problem.
19 # See http://dev.zenoss.org/trac/ticket/3146 for details
20 import pkg_resources
21
22 from Products.ZenUtils.Utils import unused
23 unused(pkg_resources)
24
25 __all__ = ['pkg_resources']
26
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1.1812 on Mon Jul 30 17:11:30 2012 | http://epydoc.sourceforge.net |