correction in fullpath option

This commit is contained in:
2017-01-09 20:16:33 +01:00
parent 66f24bd1c0
commit 7fe47396ee
3 changed files with 9 additions and 1 deletions

View File

@ -545,7 +545,11 @@ class SubConfig(object):
name = opt.impl_getname()
else:
if fullpath:
name = '.'.join([self._impl_path, opt.impl_getname()])
root_path = self.cfgimpl_get_path()
if root_path is None:
name = opt.impl_getname()
else:
name = '.'.join([root_path, opt.impl_getname()])
else:
name = '.'.join(_currpath + [opt.impl_getname()])
pathsvalues.append((name, value))