Skip to content

Commit 99f2472

Browse files
authored
Merge pull request #4336 from boegel/run_shell_cmd_cache
rename `run_cache` decorator to `run_shell_cmd_cache`
2 parents ca0ce94 + fc47c84 commit 99f2472

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

easybuild/tools/run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ def cache_aware_func(cmd, *args, **kwargs):
104104
return cache_aware_func
105105

106106

107-
run_cache = run_cmd_cache
107+
run_shell_cmd_cache = run_cmd_cache
108108

109109

110-
@run_cache
110+
@run_shell_cmd_cache
111111
def run_shell_cmd(cmd, fail_on_error=True, split_stderr=False, stdin=None, env=None,
112112
hidden=False, in_dry_run=False, verbose_dry_run=False, work_dir=None, shell=True,
113113
output_file=False, stream_output=False, asynchronous=False, with_hooks=True,

0 commit comments

Comments
 (0)