Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix macosx grains when swapusage returns comma #48304
What does this PR do?
Apparently macosx can return a comman when running
What issues does this PR fix or reference?
salt-minion does not start due to valuerror
Commits signed with GPG?
referenced this pull request
Jun 25, 2018
apologies i didn't follow up here. But as you can see in the issue of hte comments here: #48078 (comment)
i'm a bit worried about using the locale module as I read that it changes the program from using the C locale to the user definied LANG environment, and I'm worried this will have other effects on salt later in the stack and in other places. And doing more research we can't even look up what the locale decimal point is as you have to use
i'm wondering if the original PR is the best approach but I'm open to other ideas, or maybe my interpretation of the locale module is wrong.