def write(self, args):  # pylint: disable=no-self-use
        """ writes the progres """
        ShellProgressView.done = False
        message = args.get('message', '')
        percent = args.get('percent', None)
        if percent:
            ShellProgressView.progress_bar = _format_value(message, percent)
            if int(percent) == 1:
                ShellProgressView.progress_bar = None

        ShellProgressView.progress = message
def write ( self , args ) : ShellProgressView . done = False message = args . get ( 'message' , '' ) percent = args . get ( 'percent' , None ) if percent : ShellProgressView . progress_bar = _format_value ( message , percent ) if int ( percent ) == 1 : ShellProgressView . progress_bar = None ShellProgressView . progress = message
writes the progres