diff options
author | Slavek Kabrda <bkabrda@redhat.com> | 2014-07-25 10:53:28 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2014-07-25 10:58:53 -0400 |
commit | 1df82a36df74a59f55eea99d08612564fa22cbef (patch) | |
tree | dd5425b454d9e748280b7d9ce604367f3dea1697 /tools/mountstats | |
parent | b7b9e4e69587652b40d543094b133fb8b4881dc1 (diff) | |
download | nfs-utils-1df82a36df74a59f55eea99d08612564fa22cbef.tar.gz |
Fix Python 3 compatibility of mountstats and nfs-iostatnfs-utils-1-3-1-rc3
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'tools/mountstats')
-rw-r--r-- | tools/mountstats/mountstats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mountstats/mountstats.py b/tools/mountstats/mountstats.py index e46105d..1fb3e2f 100644 --- a/tools/mountstats/mountstats.py +++ b/tools/mountstats/mountstats.py @@ -371,7 +371,7 @@ def parse_stats_file(filename): ms_dict = dict() key = '' - f = file(filename) + f = open(filename) for line in f.readlines(): words = line.split() if len(words) == 0: |