#NEWLINE# def register( self , req ) : #NEWLINE# #INDENT# if ( req . id in self ) : #NEWLINE# #INDENT# log . warn ( ( '%s already registered in %s' % ( repr ( req ) , repr ( req ) ) ) ) #NEWLINE# #UNINDENT# self . _reg [ str ( req . id ) ] = req