yandextank/plugins/Autostop/cumulative_criterions.py
def get_level_str(self):
        ''' format level str '''
        if self.is_relative:
            level_str = str(self.level) + "%"
        else:
            level_str = self.level
        return level_str
def get_level_str(self):
        ''' format level str '''
        if self.is_relative:
            level_str = str(self.level) + "%"
        else:
            level_str = self.level
        return level_str
def get_level_str ( self ) : if self . is_relative : level_str = str ( self . level ) + "%" else : level_str = self . level return level_str
format level str
format level str