Oops, yes that shouldn#T be there ...

On 07/04/2014 14:44, Hilary James Oliver wrote:
> In lib/cylc/job_submission/slurm.py:
> 
>> +        """Kill the job."""
>> +        check_call(["scancel", jid])
>> +
>> +    def poll( self, jid ):
>> +        """Return 0 if jid is in the queueing system, 1 otherwise."""
>> +        proc = Popen(["squeue", "-j", jid], stdout=PIPE)
>> +        if proc.wait():
>> +            return 1
>> +        out, err = proc.communicate()
>> +        # "squeue -j ID" returns something like:
>> +        #
>> +        #  JOBID PARTITION     NAME     USER  ST       TIME  NODES NODELIST(REASON)
>> +        # 764305 mpi-seria   sbatch  m214089   R       1:07      1 ctc001
>> +        #
>> +        for line in out.splitlines():
>> +            print line
> 
> Was this |print| statement left in accidentally?
> 
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/cylc/cylc/pull/936/files#r11341679>.
> 

-- 
                             \\\\\\
                             (-0^0-)
--------------------------oOO--(_)--OOo-----------------------------

 Luis Kornblueh                           Tel. : +49-40-41173289
 Max-Planck-Institute for Meteorology     Fax. : +49-40-41173298
 Bundesstr. 53
 D-20146 Hamburg                   Email: luis.kornblueh@zmaw.de
 Federal Republic of Germany