Skip to content

Commit d9d4292

Browse files
committed
LsfSpawner: don't indent batch script
- Makes consistency with other spawners
1 parent 391412c commit d9d4292

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

batchspawner/batchspawner.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -653,15 +653,15 @@ class LsfSpawner(BatchSpawnerBase):
653653
'''A Spawner that uses IBM's Platform Load Sharing Facility (LSF) to launch notebooks.'''
654654

655655
batch_script = Unicode('''#!/bin/sh
656-
#BSUB -R "select[type==any]" # Allow spawning on non-uniform hardware
657-
#BSUB -R "span[hosts=1]" # Only spawn job on one server
658-
#BSUB -q {queue}
659-
#BSUB -J spawner-jupyterhub
660-
#BSUB -o {homedir}/.jupyterhub.lsf.out
661-
#BSUB -e {homedir}/.jupyterhub.lsf.err
662-
663-
{cmd}
664-
''').tag(config=True)
656+
#BSUB -R "select[type==any]" # Allow spawning on non-uniform hardware
657+
#BSUB -R "span[hosts=1]" # Only spawn job on one server
658+
#BSUB -q {queue}
659+
#BSUB -J spawner-jupyterhub
660+
#BSUB -o {homedir}/.jupyterhub.lsf.out
661+
#BSUB -e {homedir}/.jupyterhub.lsf.err
662+
663+
{cmd}
664+
''').tag(config=True)
665665

666666

667667
batch_submit_cmd = Unicode('bsub').tag(config=True)

0 commit comments

Comments
 (0)