Skip to content

Commit b4f831f

Browse files
t20100loichuder
andauthored
rename is_output to has_output
Co-authored-by: Loïc Huder <[email protected]>
1 parent 1f5b32a commit b4f831f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyterhub_moss/spawner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,8 @@ def __update_options(self, options, partition_info):
364364
options["memory"] = options["mem"]
365365

366366
# Convert output option from boolean to file pattern
367-
is_output = options.get("output", False)
368-
options["output"] = "slurm-%j.out" if is_output else "/dev/null"
367+
has_output = options.get("output", False)
368+
options["output"] = "slurm-%j.out" if has_output else "/dev/null"
369369

370370
# Specific handling of exclusive flag
371371
# When memory=0 or all CPU are requested, set the exclusive flag

0 commit comments

Comments
 (0)