Пример #1
0
 def send_report(self):
     if not self.database_desc:
         self.report_paragraph("No database connection.")
         return
     self.report_items("Database", self.database_desc)
     if self.data_desc_table:
         self.report_items("Data", report.describe_data(self.data_desc_table))
Пример #2
0
 def send_report(self):
     if not self.database_desc:
         self.report_paragraph("No database connection.")
         return
     self.report_items("Database", self.database_desc)
     if self.data_desc_table:
         self.report_items("Data",
                           report.describe_data(self.data_desc_table))