You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the course of adding some functional tests, I learned that hwk isn't python 3.5 compatible. There are a number of things that need to be addressed, including:
Replace sys.platform with platform.system() and use the key "Linux", not "linux2" (it's "linux" in py35 for some reason, but platform.system() returns "Linux" for both py27 and py35
Do not refer to dict keys using hard-coded string literals. Instead, need to use six.b(string_literal)
Need to remove the functor dict execution strategy because the KeyError catch was masking issues
The text was updated successfully, but these errors were encountered:
Sometimes the physical memory cannot be determined without root privileges
because either the syslog doesn't exist or the user does not have the
privileges to read it. This can happen in containerized or reduced-privilege
environments. In these cases, fall back to using usable amount of memory, which
is always readable from /proc/meminfo.
Closes issue #2
Partly addresses issue #1
In the course of adding some functional tests, I learned that hwk isn't python 3.5 compatible. There are a number of things that need to be addressed, including:
The text was updated successfully, but these errors were encountered: