oslo.service/oslo_service
Stephen Finucane e86fb9dcce Add 'is_available' function
Resolves the following warnings seen in the likes of nova:

    DeprecationWarning: Please provide `is_available()` function in your
    custom Eventlet hub <module 'oslo_service' from
    '../oslo_service/__init__.py'>."

    It must return bool: whether hub supports current platform. See
    eventlet/hubs/{epoll,kqueue} for example.

Since we're simply taking the default hub provided by eventlet and
overriding a single attribute, we will always have support so set the
attribute.

Change-Id: I219cf652526802b8212fe8a8f6c499e9aa24a3cf
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2019-11-27 16:56:08 +00:00
..
locale/en_GB/LC_MESSAGES Imported Translations from Zanata 2018-03-01 06:11:58 +00:00
tests Extend test cert validity to 2049 2019-10-10 10:26:00 +02:00
__init__.py Add 'is_available' function 2019-11-27 16:56:08 +00:00
_i18n.py Update URLs in documents according to document migration 2017-07-12 23:28:29 +08:00
_options.py Make PID availabe as formatstring in backdoor path 2019-05-22 16:21:44 +02:00
eventlet_backdoor.py Make PID availabe as formatstring in backdoor path 2019-05-22 16:21:44 +02:00
fixture.py Use eventletutils Event class 2019-01-10 22:06:11 +00:00
loopingcall.py Use eventletutils Event class 2019-01-10 22:06:11 +00:00
periodic_task.py Update hacking version 2019-02-13 17:08:38 +08:00
service.py Merge "restart: don't stop process on sighup when mutating" 2019-08-30 11:51:58 +00:00
sslutils.py Add Bandit to tox for security static analysis 2015-12-01 16:10:15 +03:00
systemd.py Fix argument type for _sd_notify() on python3 2016-03-31 10:51:19 -06:00
threadgroup.py Deprecate the ThreadGroup.cancel() API 2018-12-20 11:11:23 +13:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:21 -05:00
wsgi.py Remove log translations 2017-03-23 16:04:59 +08:00