def set_status(self, status):
        """Sets the current step's status.
        Args:
            status (:class:`Status <Status>` object): The status to set the
                step to.
        """
        if status is not self.status:
            logger.debug("Setting %s state to %s.", self.stack.name,
                         status.name)
            self.status = status
            self.last_updated = time.time()
            if self.stack.logging:
                log_step(self)
def set_status ( self , status ) : if status is not self . status : logger . debug ( "Setting %s state to %s." , self . stack . name , status . name ) self . status = status self . last_updated = time . time ( ) if self . stack . logging : log_step ( self )
Sets the current step's status.
        Args:
            status (:class:`Status <Status>` object): The status to set the
                step to.