- Timestamp:
- Oct 9, 2019, 2:15:34 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ipp-259_genericise_backups/tools/backups/utils/subprocess_utils.py
r40913 r40932 34 34 35 35 36 def local_rsync_wrapper(args: [str]): 37 if args is None: 38 raise ValidationError(f"Error:no arguments provided to {local_rsync_wrapper.__name__}") 39 command_and_args = ["rsync"] + args 40 return simple_unix_wrapper(command_and_args) 41 42 36 43 def simple_unix_wrapper(command_and_args: [str]): 37 44 """ This should provide the program name and all arguments in a list.
Note:
See TracChangeset
for help on using the changeset viewer.
