(self, records)
return rv
Format the specified records and return the result as a string.
Format the specified records and return the result as a string.
Format the specified records and return the result as a string .
def format(self, records):
        """
        Format the specified records and return the result as a string.
        """
        rv = ""
        if len(records) > 0:
            rv = rv + self.formatHeader(records)
            for record in records:
                rv = rv + self.linefmt.format(record)
            rv = rv + self.formatFooter(records)
        return rv
def format ( self , records ) : rv = "" if len ( records ) > 0 : rv = rv + self . formatHeader ( records ) for record in records : rv = rv + self . linefmt . format ( record ) rv = rv + self . formatFooter ( records ) return rv