Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
pkg5: wrap 'to modify' package list #56378
When executing against an OmniOS (r151030) node with only the Python 3.5.7 package installed, pkg5 module tasks fail due to differing behavior between Python 2.x and 3.x (if the Python 2 package is present, /usr/bin/python defaults to that, and everything works as expected). Wrapping filter() with a list() should cover both 2.x and 3.x.
The trace returned when the module fails: