#NEWLINE# def save_queue( self ) : #NEWLINE# #INDENT# q = self . validated_queue ( self . name ) #NEWLINE# fields = [ 'default_timeout' , 'scheduled' , 'idempotent' ] #NEWLINE# dirty = [ f for f in fields if ( q . __dict__ [ f ] != self . __dict__ [ f ] ) ] #NEWLINE# if dirty : #NEWLINE# #INDENT# q . default_timeout = self . default_timeout #NEWLINE# q . serial = self . serial #NEWLINE# q . idempotent = self . idempotent #NEWLINE# q . scheduled = ( True if self . scheduled else q . scheduled ) #NEWLINE# q . save ( ) #NEWLINE# _PQ_QUEUES [ self . name ] = q