googley/lxc-checkconfig — pull request #2 by zidarsk8 (2014-09-03 22:13:46+00:00)
Title: Changes to better match original script, and python3 compatability

Edit print style

Modified output to match .sh script
- added headers for sections
- ordered sections and entries
- added colors for status output
- added two footer lines

Python 3 compatability

- changed the config read line to decode utf-8, because python 3 returnes bytes instead of a string

Simplified get_cgroup_mount_path

- the awk command returns all uncomented lines taht start with the search
patern, and the ' | head -n 1 ' just takes the first argument. So this
is a sipmlified version of the function for better readability.

- Also removed an unused import from my prev commit