boundary/metric_markdown.py
def printMetricsHeader(self, m, d):
        """
        Prints out table header based on the size of the data in columns
        """
        mstr = "Metric Name"
        dstr = "Description"

        print('|{0}{1}|{2}{3}|'.format(mstr, ' ' * (m - len(mstr)), dstr, ' ' * (d - len(dstr))))
        print('|:{0}|:{1}|'.format('-' * (m - 1), '-' * (d - 1)))
def printMetricsHeader(self, m, d):
        """
        Prints out table header based on the size of the data in columns
        """
        mstr = "Metric Name"
        dstr = "Description"

        print('|{0}{1}|{2}{3}|'.format(mstr, ' ' * (m - len(mstr)), dstr, ' ' * (d - len(dstr))))
        print('|:{0}|:{1}|'.format('-' * (m - 1), '-' * (d - 1)))
def printMetricsHeader ( self , m , d ) : mstr = "Metric Name" dstr = "Description" print ( '|{0}{1}|{2}{3}|' . format ( mstr , ' ' * ( m - len ( mstr ) ) , dstr , ' ' * ( d - len ( dstr ) ) ) ) print ( '|:{0}|:{1}|' . format ( '-' * ( m - 1 ) , '-' * ( d - 1 ) ) )
Prints out table header based on the size of the data in columns
Prints out table header based on the size of the data in columns