mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #2810 from natefoo/split-kwargs
[16.07] Revert str.split() syntax for Python 2 compatibility
This commit is contained in:
@@ -43,7 +43,7 @@ class SlurmJobRunner( DRMAAJobRunner ):
|
||||
cmd = [ 'scontrol', '-o' ]
|
||||
if '.' in ajs.job_id:
|
||||
# custom slurm-drmaa-with-cluster-support job id syntax
|
||||
job_id, cluster = ajs.job_id.split('.', maxsplit=1)
|
||||
job_id, cluster = ajs.job_id.split('.', 1)
|
||||
cmd.extend( [ '-M', cluster ] )
|
||||
else:
|
||||
job_id = ajs.job_id
|
||||
|
||||
Reference in New Issue
Block a user