Skip to content

Commit dd218db

Browse files
authored
Apply suggestions from code review
1 parent 5a8014f commit dd218db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/framework/toy_build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3662,7 +3662,7 @@ def parse_hook(ec):
36623662
print(ec['postinstallcmds'][-1])
36633663
36643664
def pre_build_and_install_loop_hook(ecs):
3665-
print(f"installing {len(ecs)} easyconfigs: {' '.join(ec['full_mod_name'] for ec in ecs)}")
3665+
print(f"installing {len(ecs)} easyconfigs: {' '.join(ec[1]['full_mod_name'] for ec in ecs)}")
36663666
36673667
def pre_easyblock_hook(self):
36683668
print(f'starting installation of {self.name} {self.version}')
@@ -3715,7 +3715,7 @@ def post_easyblock_hook(self):
37153715
print(f'done with installation of {self.name} {self.version}')
37163716
37173717
def post_build_and_install_loop_hook(ecs):
3718-
print(f"done with installing {len(ecs)} easyconfigs: {' '.join(ec['full_mod_name'] for ec in ecs)}")
3718+
print(f"done with installing {len(ecs)} easyconfigs: {' '.join(ec[1]['full_mod_name'] for ec in ecs)}")
37193719
""")
37203720
write_file(hooks_file, hooks_file_txt)
37213721

0 commit comments

Comments
 (0)