Sync from oslo-incubator
Sync from oslo-incubator contains various python3 fixes. Change-Id: I55e867450d65d9fa74fd6ef6ffece2bbb9f929cf Signed-off-by: Chuck Short <chuck.short@canonical.com>
This commit is contained in:
@@ -41,8 +41,9 @@ def import_object(import_str, *args, **kwargs):
|
||||
|
||||
|
||||
def import_object_ns(name_space, import_str, *args, **kwargs):
|
||||
"""
|
||||
Import a class and return an instance of it, first by trying
|
||||
"""Tries to import object from default namespace.
|
||||
|
||||
Imports a class and return an instance of it, first by trying
|
||||
to find the class in a default namespace, then failing back to
|
||||
a full path if not found in the default namespace.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user