Joshua Harlow 9f624f7405 Use oslo_utils reflection to get 'f' callable name
Using the utility function gets a better name.

For example:

$ python

>>> from oslo_utils import reflection
>>> class A(object):
...   def m(self):
...     pass
...
>>> z = A()
>>> reflection.get_callable_name(z.m)
'__main__.A.m'

Versus:

>>> z.m.__name__
'm'

Change-Id: I2eb9f49f6d7578d5d4e3a40cbd695e6622f3f850
2015-08-10 14:42:41 -07:00
2015-08-09 07:37:07 +02:00
2015-06-11 16:06:54 +03:00
2015-07-15 01:36:46 +00:00
2015-07-30 07:59:51 -04:00

oslo.service

Library for running OpenStack services

Description
Library for running OpenStack services
Readme 5.6 MiB
Languages
Python 100%