- Timestamp:
- Oct 7, 2019, 1:25:05 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ipp-259_genericise_backups/tools/backups/utils/subprocess_utils.py
r40898 r40913 42 42 43 43 try: 44 subprocess .check_call(command_and_args)44 subprocess_exitcode = subprocess.check_call(command_and_args) 45 45 except (subprocess.CalledProcessError) as cpe: 46 46 raise SubprocessError(f"{type(cpe)} in python simple_unix_wrapper") from cpe 47 47 except (ValidationError) as ve: 48 48 raise ValidationError(f"{type(ve)} in python simple_unix_wrapper") from ve 49 return 049 return subprocess_exitcode
Note:
See TracChangeset
for help on using the changeset viewer.
