Skip to content

Commit 7ded101

Browse files
Fix bugs
1 parent ba162f4 commit 7ded101

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

reframe/core/modules.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ def _do_validate(self):
750750
modulecmd = os.getenv('MODULESHOME')
751751
if modulecmd is None:
752752
raise ConfigError(
753-
f'could not find a sane TMod31 installation: {e}'
753+
'could not find a sane TMod31 installation'
754754
)
755755
try:
756756
modulecmd = os.path.join(modulecmd, 'modulecmd.tcl')

reframe/core/schedulers/slurm.py

+1
Original file line numberDiff line numberDiff line change
@@ -923,6 +923,7 @@ def _find_devices(self, node_feats: list) -> Union[dict, None]:
923923
'the configuration file.')
924924
return None
925925
else:
926+
devices = []
926927
for device_i in devices_raw:
927928
devices = [item.rsplit(':', 1)[0] for item in device_i]
928929
devices = [','.join(devices)]

0 commit comments

Comments
 (0)