Skip to content

Commit 352bf6e

Browse files
committed
Rename hooks class method
1 parent 19ff896 commit 352bf6e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

reframe/core/pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def disable_hook(cls, hook_name):
149149
cls._rfm_disabled_hooks.add(hook_name)
150150

151151
@classmethod
152-
def hooks(cls):
152+
def pipeline_hooks(cls):
153153
ret = {}
154154
for c in cls.mro():
155155
if hasattr(c, '_rfm_pipeline_hooks'):

reframe/frontend/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def fmt_deps():
7171
'Node allocation': node_alloc_scheme,
7272
'Pipeline hooks': {
7373
k: fmt_list(fn.__name__ for fn in v)
74-
for k, v in type(check).hooks().items()
74+
for k, v in check.pipeline_hooks().items()
7575
},
7676
'Tags': fmt_list(check.tags),
7777
'Valid environments': fmt_list(check.valid_prog_environs),

0 commit comments

Comments
 (0)