method to handle any 'post processing' that needs to be done. for now, we just need match up types to TLVs
(self)
| 514 | return Template(filename=filename) |
| 515 | |
| 516 | def post_process(self): |
| 517 | """ method to handle any 'post processing' that needs to be done. |
| 518 | for now, we just need match up types to TLVs """ |
| 519 | for tlv_name, tlv in self.tlvs.items(): |
| 520 | if tlv_name in self.types: |
| 521 | self.types[tlv_name].mark_tlv(tlv) |
| 522 | |
| 523 | def write(self, options, output): |
| 524 | template = self.find_template(options) |