()
| 63 | |
| 64 | |
| 65 | def get_distro(): |
| 66 | if is_mac(): |
| 67 | return ["osx", "", "darwin"] |
| 68 | try: |
| 69 | if distro_available: |
| 70 | return distro.linux_distribution(full_distribution_name=False) |
| 71 | else: |
| 72 | return platform.linux_distribution() |
| 73 | except: |
| 74 | return ["N/A", "N/A", "N/A"] |
| 75 | |
| 76 | |
| 77 | def is_mac(): |
no test coverage detected