Skip to content

Commit a9de48f

Browse files
committed
🐛 verdi devel: correct the localhost description (aiidateam#7600)
`prepare_localhost` credits the computer it creates to `aiida.engine.launch_shell_job`. That description was copied from `aiida-shell` back when `verdi devel launch-add` was added, and has named nothing in core ever since. Integrating `launch_shell_job` turns it into a reference to a real function, which still is not what creates this computer, so credit `verdi devel launch-add` instead.
1 parent 6d80e93 commit a9de48f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/aiida/cmdline/commands/cmd_devel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def prepare_localhost():
267267
computer = Computer(
268268
label='localhost',
269269
hostname='localhost',
270-
description='Localhost automatically created by `aiida.engine.launch_shell_job`',
270+
description='Localhost automatically created by `verdi devel launch-add`',
271271
transport_type='core.local',
272272
scheduler_type='core.direct',
273273
workdir=tempfile.gettempdir(),

0 commit comments

Comments
 (0)