(valid_vuids: set, vuid: str, quotes: bool = True)
| 52 | |
| 53 | # Will do a sanity check the VUID exists |
| 54 | def getVUID(valid_vuids: set, vuid: str, quotes: bool = True) -> str: |
| 55 | if vuid not in valid_vuids: |
| 56 | print(f'Warning: Could not find {vuid} in validusage.json') |
| 57 | vuid = vuid.replace('VUID-', 'UNASSIGNED-') |
| 58 | return vuid if not quotes else f'"{vuid}"' |
| 59 | |
| 60 | # There is no way to find this information in the XML |
| 61 | def createObject(command_name: str): |
no outgoing calls
no test coverage detected