/usr/lib/python2.6/site-packages/oslo_utils
NameSizeModeActions
locale/-0755rm
tests/-0755rm
encodeutils.py63090644editdlrm
encodeutils.pyc34620644editdlrm
eventletutils.py52660644editdlrm
eventletutils.pyc32300644editdlrm
excutils.py94070644editdlrm
excutils.pyc88180644editdlrm
fileutils.py28380644editdlrm
fileutils.pyc29850644editdlrm
fixture.py15560644editdlrm
fixture.pyc17320644editdlrm
fnmatch.py26000644editdlrm
fnmatch.pyc21000644editdlrm
imageutils.py66400644editdlrm
imageutils.pyc48470644editdlrm
importutils.py23590644editdlrm
importutils.pyc24720644editdlrm
netutils.py114780644editdlrm
netutils.pyc111440644editdlrm
reflection.py70150644editdlrm
reflection.pyc61910644editdlrm
secretutils.py13170644editdlrm
secretutils.pyc9980644editdlrm
strutils.py91050644editdlrm
strutils.pyc80680644editdlrm
timeutils.py147390644editdlrm
timeutils.pyc169140644editdlrm
units.py9220644editdlrm
units.pyc5930644editdlrm
uuidutils.py13490644editdlrm
uuidutils.pyc12650644editdlrm
versionutils.py26190644editdlrm
versionutils.pyc29240644editdlrm
_i18n.py11580644editdlrm
_i18n.pyc5400644editdlrm
__init__.py00644editdlrm
__init__.pyc1420644editdlrm
Edit: /usr/lib/python2.6/site-packages/oslo_utils/eventletutils.pyc (3230B)
Ñò zDVc @s˜ddkZddkZddklZeidƒZeidƒZeeefƒZe ddddd d d d gƒZ d „Z ddd„Z dS(iÿÿÿÿN(t importutilsteventletseventlet.patchert __builtin__tMySQLdbtostpsycopgtselecttsockettthreadttimecCs8tptiStidƒ}|otiStiSdS(NR(tEVENTLET_AVAILABLEt threadingtcurrent_threadt_patchertis_monkey_patchedt _eventlett getcurrent(tgreen_threaded((s</tmp/pip-build-lt8jXN/oslo.utils/oslo_utils/eventletutils.pytfetch_current_thread_functor%s s this libraryc Cs/|ptiƒ}ngtƒ}xZ|D]R}|djo|itƒq'|tjotd|ƒ‚q'|i|ƒq'Wto§ytti ƒ}Wnt j o t }nX|omg}x5t |ƒD]'}ti |ƒp|i|ƒqÍqÍW|o$tid||ftddƒq'q+ndS(s¼Warns if eventlet is being used without patching provided modules. :param expected_patched_modules: list of modules to check to ensure that they are patched (and to warn if they are not); these names should correspond to the names passed into the eventlet monkey_patch() routine. If not provided then *all* the modules that could be patched are checked. The currently valid selection is one or multiple of ['MySQLdb', '__builtin__', 'all', 'os', 'psycopg', 'select', 'socket', 'thread', 'time'] (where 'all' has an inherent special meaning). :type expected_patched_modules: list/tuple/iterable :param what: string to merge into the warnings message to identify what is being checked (used in forming the emitted warnings message). :type what: string talls1Unknown module '%s' requested to check if patcheds It is highly recommended that when eventlet is used that the %s modules are monkey patched when using %s (to avoid spurious or unexpected lock-ups and/or hangs)t stackleveliN(t _ALL_PATCHtcopytsettupdatet ValueErrortaddR tboolR talready_patchedtAttributeErrortTruetsortedRtappendtwarningstwarntRuntimeWarning(texpected_patched_modulestwhattexpanded_patched_modulestmt maybe_patchedt not_patched((s</tmp/pip-build-lt8jXN/oslo.utils/oslo_utils/eventletutils.pytwarn_eventlet_not_patched6s4        (R R!t oslo_utilsRt try_importRR RR t frozensetRRtNoneR*(((s</tmp/pip-build-lt8jXN/oslo.utils/oslo_utils/eventletutils.pyts