(platform_name, prefixes)
| 30 | return result |
| 31 | |
| 32 | def check_prefix(platform_name, prefixes): |
| 33 | for prefix in prefixes: |
| 34 | if platform_name.startswith(prefix): |
| 35 | return True |
| 36 | return False |
| 37 | |
| 38 | for p in platform_info: |
| 39 | if check_prefix(bv.platform.name, p["prefixes"]): |