jeffsilverm / nbmdt

network boot, monitor, and diagnostic tool
GNU General Public License v2.0
2 stars 0 forks source link

Change the return type from OsCliInter.run_command in utilities.py #36

Open jeffsilverm opened 5 years ago

jeffsilverm commented 5 years ago

OsCliInter.run_command in utilities.py currently returns an ASCII string which is the program output. It should return a tuple which is a UTF-8 string of stdout, a UTF-8 string of stderr, and the return status code as an int. Us mypy to detect all of the occurrences.