commit | 641d4ff55be1ded0a46cbfca1f400801e8a337a7 | [log] [tgz] |
---|---|---|
author | Petr Lautrbach <plautrba@redhat.com> | Fri Jun 02 22:01:31 2017 +0200 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Fri Jun 02 16:14:45 2017 -0400 |
tree | f96c8ba3669fd7d962a62e36fbc91c18a73354aa | |
parent | acc43466f5d5f5a14854b863e40bb48165cd6614 [diff] |
sepolicy: Fix sorting of port_strings in python 3 Fixes: $ sepolicy network -d httpd_t httpd_t: tcp name_connect Traceback (most recent call last): File /usr/bin/sepolicy, line 699, in <module> args.func(args) File /usr/bin/sepolicy, line 319, in network _print_net(d, tcp, name_connect) File /usr/bin/sepolicy, line 276, in _print_net port_strings.sort(numcmp) TypeError: must use keyword argument for key function Signed-off-by: Petr Lautrbach <plautrba@redhat.com>