diff options
author | Weston Andros Adamson <dros@netapp.com> | 2013-10-21 10:06:41 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2013-10-21 10:07:35 -0400 |
commit | 610e8a05ecadf2d46cf2ed4c64ee5ce332117f6a (patch) | |
tree | c5409b6a23587a5098cda8673c5bbb9c7e48c12e | |
parent | 6085de30b363e916ea6968f54c294aeecac07efa (diff) | |
download | nfs-utils-610e8a05ecadf2d46cf2ed4c64ee5ce332117f6a.tar.gz nfs-utils-610e8a05ecadf2d46cf2ed4c64ee5ce332117f6a.tar.xz nfs-utils-610e8a05ecadf2d46cf2ed4c64ee5ce332117f6a.zip |
mountstats: fix python2.x support
Commit b703eabe converted mountstats to using python3's print()
function, but this doesn't work in python2.x without
importing the print function from __future__.
Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | tools/mountstats/mountstats.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/mountstats/mountstats.py b/tools/mountstats/mountstats.py index 3f5fea5..e46105d 100644 --- a/tools/mountstats/mountstats.py +++ b/tools/mountstats/mountstats.py @@ -3,6 +3,8 @@ """Parse /proc/self/mountstats and display it in human readable form """ +from __future__ import print_function + __copyright__ = """ Copyright (C) 2005, Chuck Lever <cel@netapp.com> |