From 610e8a05ecadf2d46cf2ed4c64ee5ce332117f6a Mon Sep 17 00:00:00 2001 From: Weston Andros Adamson Date: Mon, 21 Oct 2013 10:06:41 -0400 Subject: 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 Signed-off-by: Steve Dickson --- tools/mountstats/mountstats.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit