(port)
| 822 | winmm.timeEndPeriod(1) |
| 823 | |
| 824 | def GetDestPort(port): |
| 825 | global port_mappings |
| 826 | if port_mappings is not None: |
| 827 | src_port = str(port) |
| 828 | if src_port in port_mappings: |
| 829 | return port_mappings[src_port] |
| 830 | elif 'default' in port_mappings: |
| 831 | return port_mappings['default'] |
| 832 | return port |
| 833 | |
| 834 | |
| 835 | def SetPortMappings(map_string): |
no outgoing calls
no test coverage detected