#NEWLINE# def kill( self , sig ) : #NEWLINE# #INDENT# ' send a signal to all processes of this template ' #NEWLINE# signum = parse_signal_value ( sig ) #NEWLINE# body = json . dumps ( { #NEWLINE# #INDENT# 'signal' : signum , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . server . request ( 'post' , ( '/jobs/%s/%s/signal' % ( self . sessionid , self . name ) ) , body = body ) #NEWLINE# return True