()
| 1885 | |
| 1886 | # Make sure we are running on a supported system |
| 1887 | def _check_arch(): |
| 1888 | arch, bits = parse_arch(DataSource.raw_arch_string) |
| 1889 | if not arch in ['X86_32', 'X86_64', 'ARM_7', 'ARM_8', 'PPC_64']: |
| 1890 | raise Exception("py-cpuinfo currently only works on X86 and some PPC and ARM CPUs.") |
| 1891 | |
| 1892 | # def main(): |
| 1893 | # try: |
nothing calls this directly
no test coverage detected
searching dependent graphs…