PTU5KAS/kas
Jan Kiszka ca6b3c05c9 libkas: Fail run_cmd silently if command is not found
If we only try-execute a command (fail=False), do not bail out with an
exception when starting that command already fails. Catch typical
exceptions and return the corresponding error code along with the
exception string.

This fixes get_root_path in case hg is not installed.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2018-01-25 19:11:43 +01:00
..
__init__.py config: Added schema validation for configuration files 2017-10-13 14:11:10 +02:00
__main__.py entry: Consistently call python3 2017-08-31 22:31:41 +02:00
__version__.py Release 0.16.1 2018-01-10 13:06:15 +01:00
build.py config: Implemented multi-target support 2017-10-13 14:11:00 +02:00
config.py repos: move more of the complexity from config to Repo.factory 2018-01-08 17:34:59 +01:00
configschema.py repos: introduce a new repo conf parameter "type" 2018-01-08 17:34:59 +01:00
includehandler.py includehandler: Fix string formating issue 2018-01-02 14:26:46 +01:00
kas.py kas: added version output when starting kas 2017-10-19 17:15:26 +02:00
libcmds.py repos: move repository functions into repos.py 2018-01-08 17:34:59 +01:00
libkas.py libkas: Fail run_cmd silently if command is not found 2018-01-25 19:11:43 +01:00
repos.py repos: Fix relative path for repos 2018-01-25 18:54:55 +01:00
shell.py shell: Add missing imports for CleanupSSHAgent and SetupSSHAgent 2018-01-09 14:26:47 +01:00