commit | 1015aef5cfa6a88399265385040ed584e00d363e | [log] [tgz] |
---|---|---|
author | Petr Lautrbach <[email protected]> | Thu Jan 03 13:03:40 2019 +0100 |
committer | Nicolas Iooss <[email protected]> | Sat Jan 05 14:50:16 2019 +0100 |
tree | 2e18cbb65603d65058482695fbcf1b305ea1a300 | |
parent | 2d825c616d3d7a7ceee80125e1eff12ad46d2623 [diff] |
python/sepolicy: Make policy files sorting more robust The sorting order seems to be fragile because '100' < '99', so the policy filename needs to be parsed in order to extract the version as an integer and sort according to it. Based on idea from Nicolas Iooss <[email protected]> Signed-off-by: Petr Lautrbach <[email protected]>