def stat(self,in_time_id): if not super(TableName,self).stat(in_time_id): logger.error("Return from TN.stat False from super.stat()") return False idx_sets=self.get_dependants(False) if not idx_sets: logger.info("TN.stat no ids_sets returned. Maybe no indexes present. Tabe {0}".format(self.db_fields['tbl_name'])) return True else: for idx_set in idx_sets: idn=IndexName(self.db_conn,self.prod_dsn,idx_set) idn.set_prod_conn(self.prod_conn) if not idn.stat(in_time_id): logger.error("TN.stat False from idn.stat") ttn_id=self.get_toast_id() if ttn_id: ttn=TableToastName(self.db_conn,self.prod_dsn,ttn_id) ttn.set_prod_conn(self.prod_conn) if not ttn.stat(in_time_id): logger.error("TN.stat False from ttn.stat") tin_id=ttn.get_tindex_id() tin=IndexToastName(self.db_conn,self.prod_dsn,tin_id) tin.set_prod_conn(self.prod_conn) if not tin.stat(in_time_id): logger.error("TN.stat False from tin.stat") return True