Skip to content

Commit

Permalink
Merge pull request #4336 from boegel/run_shell_cmd_cache
Browse files Browse the repository at this point in the history
rename `run_cache` decorator to `run_shell_cmd_cache`
  • Loading branch information
smoors committed Aug 29, 2023
2 parents ca0ce94 + fc47c84 commit 99f2472
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions easybuild/tools/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ def cache_aware_func(cmd, *args, **kwargs):
return cache_aware_func


run_cache = run_cmd_cache
run_shell_cmd_cache = run_cmd_cache


@run_cache
@run_shell_cmd_cache
def run_shell_cmd(cmd, fail_on_error=True, split_stderr=False, stdin=None, env=None,
hidden=False, in_dry_run=False, verbose_dry_run=False, work_dir=None, shell=True,
output_file=False, stream_output=False, asynchronous=False, with_hooks=True,
Expand Down

0 comments on commit 99f2472

Please sign in to comment.