#NEWLINE# def _set_queue_position( self , position ) : #NEWLINE# #INDENT# 'Set the queue position for this torrent.' #NEWLINE# if ( self . _rpc_version ( ) >= 14 ) : #NEWLINE# #INDENT# if isinstance ( position , integer_types ) : #NEWLINE# #INDENT# self . _fields [ 'queuePosition' ] = Field ( position , True ) #NEWLINE# self . _push ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise ValueError ( 'Not a valid position' ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# pass