parameters: (self, ticket, transaction_ticket=None, transaction_id=None)
return_statement: return True
docstring: redo an operation.  If no transaction id is given, then the last
          undone operation of this user on this project is redone
  
          @params
          ticket - authentication ticket
          transaction_id - explicitly undo a specific transaction
docstring_summary: redo an operation.  If no transaction id is given, then the last
          undone operation of this user on this project is redone
docstring_tokens: redo an operation . If no transaction id is given then the last undone operation of this user on this project is redone
function: def redo(self, ticket, transaction_ticket=None, transaction_id=None):
          '''redo an operation.  If no transaction id is given, then the last
          undone operation of this user on this project is redone
  
          @params
          ticket - authentication ticket
          transaction_id - explicitly undo a specific transaction
          '''
          try:
              ticket = self.init(ticket)
  
              cmd = RedoCmd()
  
              if transaction_ticket:
                  state = TransactionState.get_by_ticket(transaction_ticket)
                  project_code = state.get_state("project")
                  state.restore_state()
  
                  # get the transaction_id
                  transaction_id = state.get_state("transaction")
                  if transaction_id:
                      cmd.set_transaction_id(transaction_id)
              elif transaction_id:
                  cmd.set_transaction_id(transaction_id)
              Command.execute_cmd(cmd)
          finally:
              if not self.get_protocol() == "local":
                  DbContainer.release_thread_sql()
  
          return True
function_tokens: def redo ( self , ticket , transaction_ticket = None , transaction_id = None ) : try : ticket = self . init ( ticket ) cmd = RedoCmd ( ) if transaction_ticket : state = TransactionState . get_by_ticket ( transaction_ticket ) project_code = state . get_state ( "project" ) state . restore_state ( ) # get the transaction_id transaction_id = state . get_state ( "transaction" ) if transaction_id : cmd . set_transaction_id ( transaction_id ) elif transaction_id : cmd . set_transaction_id ( transaction_id ) Command . execute_cmd ( cmd ) finally : if not self . get_protocol ( ) == "local" : DbContainer . release_thread_sql ( ) return True