aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorCole Robinson <[email protected]>2018-03-23 18:07:17 -0400
committerRadim Krčmář <[email protected]>2018-03-28 22:47:06 +0200
commit0866c31bf32fbd05dd25b6ed4976fa9134773227 (patch)
tree737b4b1586d6f6238cdc3f8af7cd088091cb0a34 /tools/perf/scripts/python/export-to-postgresql.py
parent6ade1ae84c9236cbb58de4b17f770f2791106676 (diff)
tools/kvm_stat: Don't use deprecated file()
$ python3 tools/kvm/kvm_stat/kvm_stat Traceback (most recent call last): File "tools/kvm/kvm_stat/kvm_stat", line 1668, in <module> main() File "tools/kvm/kvm_stat/kvm_stat", line 1639, in main assign_globals() File "tools/kvm/kvm_stat/kvm_stat", line 1618, in assign_globals for line in file('/proc/mounts'): NameError: name 'file' is not defined open() is the python3 way, and works on python2.6+ Signed-off-by: Cole Robinson <[email protected]> Reviewed-and-tested-by: Stefan Raspl <[email protected]> Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions