Merge "Make sure the loadables path is the absolute path"
This commit is contained in:
commit
ad1165788a
@ -49,7 +49,7 @@ from nova.openstack.common import importutils
|
||||
class BaseLoader(object):
|
||||
def __init__(self, loadable_cls_type):
|
||||
mod = sys.modules[self.__class__.__module__]
|
||||
self.path = mod.__path__[0]
|
||||
self.path = os.path.abspath(mod.__path__[0])
|
||||
self.package = mod.__package__
|
||||
self.loadable_cls_type = loadable_cls_type
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user