def fw_retry_failures_delete(self):
for tenant_id in self.fwid_attr:<EOL><INDENT>try:<EOL><INDENT>with self.fwid_attr[tenant_id].mutex_lock:<EOL><INDENT>fw_data = self.get_fw_by_tenant_id(tenant_id)<EOL>if fw_data is None:<EOL><INDENT>LOG.info("<STR_LIT>", tenant_id)<EOL>continue<EOL><DEDENT>result = fw_data.get('<STR_LIT:result>').split('<STR_LIT:(>')[<NUM_LIT:0>]<EOL>if result == fw_constants.RESULT_FW_DELETE_INIT:<EOL><INDENT>fw_dict = self.fwid_attr[tenant_id].get_fw_dict()<EOL>if not fw_dict:<EOL><INDENT>fw_dict = self.fill_fw_dict_from_db(fw_data)<EOL><DEDENT>self.retry_failure_fab_dev_delete(tenant_id, fw_data,<EOL>fw_dict)<EOL><DEDENT><DEDENT><DEDENT>except Exception as exc:<EOL><INDENT>LOG.error("<STR_LIT>",<EOL>str(exc))<EOL><DEDENT><DEDENT>
This routine is called for retrying the delete cases.