boundary/metric_markdown.py
def printFields(self, f, d):
        """
        Prints out table rows based on the size of the data in columns
        """
        for field in self.fields:
            fstr = field["title"]
            dstr = field["description"]
            flen = f - len(fstr)
            dlen = d - len(dstr)
            print("|{0}{1}|{2}{3}|".format(fstr, ' ' * flen, dstr, ' ' * dlen))
def printFields(self, f, d):
        """
        Prints out table rows based on the size of the data in columns
        """
        for field in self.fields:
            fstr = field["title"]
            dstr = field["description"]
            flen = f - len(fstr)
            dlen = d - len(dstr)
            print("|{0}{1}|{2}{3}|".format(fstr, ' ' * flen, dstr, ' ' * dlen))
def printFields ( self , f , d ) : for field in self . fields : fstr = field [ "title" ] dstr = field [ "description" ] flen = f - len ( fstr ) dlen = d - len ( dstr ) print ( "|{0}{1}|{2}{3}|" . format ( fstr , ' ' * flen , dstr , ' ' * dlen ) )
Prints out table rows based on the size of the data in columns
Prints out table rows based on the size of the data in columns