when using kiwi as API the program fails with a usage message from the Cli class. The kiwi.cli module should not be imported except for kiwi comandline tasks. It has turned out that the RuntimeConfig class which is used in several places in different API classes imports Cli and creates an instance of it to check for a global option. This causes major issues for all programs which uses the kiwi API but not the command line interface because the docopt call in Cli() expects a valid docstring which only exists in kiwi's cli.py. This commit fixes the inconsistency and allows people to use the kiwi API independent of any command line interface. Fixes #1755 |
||
|---|---|---|
| .. | ||
| root_import | ||
| __init__.py | ||
| identifier_test.py | ||
| kernel_test.py | ||
| prepare_test.py | ||
| profile_test.py | ||
| result_test.py | ||
| root_bind_test.py | ||
| root_init_test.py | ||
| setup_test.py | ||
| shell_test.py | ||
| size_test.py | ||
| uri_test.py | ||
| users_test.py | ||