commit | 211baf74efbe0fdc87d7f9b86d931f43713a8538 | [log] [tgz] |
---|---|---|
author | Nicolas Iooss <nicolas.iooss@m4x.org> | Sat Jan 16 12:33:08 2016 +0100 |
committer | Steve Lawrence <slawrence@tresys.com> | Mon Feb 01 08:54:30 2016 -0500 |
tree | 3bd2c41fb8029683b2a1158a52175c997f966ec6 | |
parent | 033ea27c09985409633d1b0fd300cf3d7f47b130 [diff] |
sepolgen: Make sepolgen-ifgen output deterministic with Python>=3.3 Since Python 3.3, dictionary hashes are randomized and iterating over them is no longer deterministic. This makes it difficult to compare outputs of sepolgen-ifgen command. Make sepolgen-ifgen deterministic again with Python>=3.3 by always sorting the dictonaries and sets which are used to produce output. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>