diff options
author | Janosch Frank <frankja@linux.vnet.ibm.com> | 2016-01-11 16:17:32 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-01-26 15:58:11 +0100 |
commit | 6590045e5dd2fb0b1d7cdc047ae0c52fd4bb5276 (patch) | |
tree | a93ee6e6b0d735c1c8bab1d0fdb7f31cc861e77c /LICENSE | |
parent | c81ab0ac90ce50d85a50934f7a519a8bc68cb155 (diff) | |
download | qemu-6590045e5dd2fb0b1d7cdc047ae0c52fd4bb5276.tar.gz qemu-6590045e5dd2fb0b1d7cdc047ae0c52fd4bb5276.tar.bz2 qemu-6590045e5dd2fb0b1d7cdc047ae0c52fd4bb5276.zip |
scripts/kvm/kvm_stat: Replaced os.listdir with os.walk
Os.walk gives back lists of directories and files, no need to filter
directories from the list that listdir gives back.
To make it better understandable a wrapper with docstring was
introduced.
Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Message-Id: <1452525484-32309-3-git-send-email-frankja@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions