#NEWLINE# def _hr( signum ) : #NEWLINE# #INDENT# name = None #NEWLINE# for ( key , value ) in six . iteritems ( signal . __dict__ ) : #NEWLINE# #INDENT# if ( value == signum ) : #NEWLINE# #INDENT# name = key #NEWLINE# break #NEWLINE# #UNINDENT# #UNINDENT# return ( name or 'signal {0}' . format ( signum ) )