oslo.service/oslo_service
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-05-21 17:00:17 +03:00
2015-06-24 16:23:12 +03:00
2015-06-11 15:55:50 +03:00
2015-06-24 16:23:12 +03:00