config.get_path(), wrapper: remove --config/-C from wrapper args
This commit is contained in:
parent
faa855eda9
commit
a3d85cda8c
6 changed files with 74 additions and 29 deletions
|
@ -6,7 +6,7 @@ from distro import get_base_distros, RepoInfo
|
|||
|
||||
|
||||
def get_chroot_path(chroot_name, override_basepath: str = None) -> str:
|
||||
base_path = config.file['paths']['chroots'] if not override_basepath else override_basepath
|
||||
base_path = config.get_path('chroots') if not override_basepath else override_basepath
|
||||
return os.path.join(base_path, chroot_name)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue