nfsiostat: make it work w/python3
authorMike Frysinger <vapier@gentoo.org>
Mon, 25 Mar 2013 12:26:40 +0000 (08:26 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 25 Mar 2013 14:09:12 +0000 (10:09 -0400)
commitb9ca017c0d0c425b7a5d22738e3e4e3fff63d44a
tree445947ebf52a1cacb6ce590ed515390e58951262
parentebe2826ca571a3959c3b5c8e29686c621f2775cf
nfsiostat: make it work w/python3

Simple fixes here to work with python 2 & 3:
 - use print() everywhere
 - dict.iteritems() -> dict.items()
 - file() -> open()
 - sys.maxint -> sys.maxsize

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Steve Dickson <steved@redhat.com>
tools/nfs-iostat/nfs-iostat.py