summaryrefslogtreecommitdiff
path: root/security/tomoyo/securityfs_if.c
diff options
context:
space:
mode:
authorStefan Raspl <stefan.raspl@de.ibm.com>2018-08-24 15:03:55 +0300
committerRadim Krčmář <rkrcmar@redhat.com>2018-08-30 18:15:12 +0300
commit58f33cfe73076b6497bada4f7b5bda961ed68083 (patch)
tree6abbdbd61930c0fca0368b7c819c4bcb44f569b8 /security/tomoyo/securityfs_if.c
parentc60658d1d983641fcdbb16f86bc2f3806d88bab4 (diff)
downloadlinux-58f33cfe73076b6497bada4f7b5bda961ed68083.tar.xz
tools/kvm_stat: fix python3 issues
Python3 returns a float for a regular division - switch to a division operator that returns an integer. Furthermore, filters return a generator object instead of the actual list - wrap result in yet another list, which makes it still work in both, Python2 and 3. Signed-off-by: Stefan Raspl <raspl@linux.ibm.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'security/tomoyo/securityfs_if.c')
0 files changed, 0 insertions, 0 deletions