Permalink
Browse files

Simplify and overcomplicate OS detection for hardware profiler.

This reworks the OS detection in smolt with a series of helper
decorators to define tests for different OSs individually, rather than
through a large conditional loop.  Tests are run in order of definition
as before. This also adds detection for Mythbuntu, FreeBSD, and OSX
version.
  • Loading branch information...
wagnerrp committed Apr 23, 2012
1 parent fe4697c commit c6a6962a86b8436a4687f85d7ba9987c04b09b29
Showing with 250 additions and 143 deletions.
  1. +250 −143 mythtv/programs/scripts/hardwareprofile/os_detect.py
Oops, something went wrong.

0 comments on commit c6a6962

Please sign in to comment.