yandextank/core/consoleworker.py
def clean_markup(self, orig_str):
        ''' clean markup from string '''
        for val in [
            self.YELLOW, self.RED, self.RESET, self.CYAN, self.BG_MAGENTA,
            self.WHITE, self.BG_GREEN, self.GREEN, self.BG_BROWN,
            self.RED_DARK, self.MAGENTA, self.BG_CYAN
        ]:
            orig_str = orig_str.replace(val, '')
        return orig_str
def clean_markup(self, orig_str):
        ''' clean markup from string '''
        for val in [
            self.YELLOW, self.RED, self.RESET, self.CYAN, self.BG_MAGENTA,
            self.WHITE, self.BG_GREEN, self.GREEN, self.BG_BROWN,
            self.RED_DARK, self.MAGENTA, self.BG_CYAN
        ]:
            orig_str = orig_str.replace(val, '')
        return orig_str
def clean_markup ( self , orig_str ) : for val in [ self . YELLOW , self . RED , self . RESET , self . CYAN , self . BG_MAGENTA , self . WHITE , self . BG_GREEN , self . GREEN , self . BG_BROWN , self . RED_DARK , self . MAGENTA , self . BG_CYAN ] : orig_str = orig_str . replace ( val , '' ) return orig_str
clean markup from string
clean markup from string