Javeme 564e5ca578 Use oslo_utils reflection to get function name
In order to get a better name, let's use oslo_utils reflection to
get function name in RetryDecorator call.

for example:

from oslo_utils import reflection

class Foo(object):
    def test_fun(self):
        pass

foo = Foo()
print(foo.test_fun.__name__) # "test_fun"
print(reflection.get_callable_name(foo.test_fun)) # "__main__.Foo.test_fun"

Change-Id: Ia7970b564e33ef7eafcd31fd907f4d53db1672f0
2016-01-14 20:35:52 +08:00
..
2015-08-18 07:57:06 +00:00
2015-04-23 02:03:14 -07:00
2015-08-18 07:57:06 +00:00