Closed tcarrio closed 8 years ago
Fix the runtime errors for several functions.
_get_uptime() throws errors if the returned list has less than 3 values.
_detect_distro() should be fully functioning with a defined distro dict for future expansions
_get_fqdn() fills in blanks where hostname -f returns less than 3 values
hostname -f
Many of these issues will be fixed by changing code within the full_print() method, trying to move towards smarter data structure for these methods
Fix the runtime errors for several functions.
_get_uptime() throws errors if the returned list has less than 3 values.
_detect_distro() should be fully functioning with a defined distro dict for future expansions
_get_fqdn() fills in blanks where
hostname -f
returns less than 3 valuesMany of these issues will be fixed by changing code within the full_print() method, trying to move towards smarter data structure for these methods