From e4a8643ec243e8052788edd2f1109fdad7aea198 Mon Sep 17 00:00:00 2001 From: Michael DM Dryden <mdryden@chem.utoronto.ca> Date: Mon, 27 Mar 2017 16:48:54 -0400 Subject: [PATCH] Convert to future print syntax. --- dstat_interface/interface/exp_int.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dstat_interface/interface/exp_int.py b/dstat_interface/interface/exp_int.py index 37e8ca9..caa4a58 100755 --- a/dstat_interface/interface/exp_int.py +++ b/dstat_interface/interface/exp_int.py @@ -16,6 +16,7 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +from __future__ import division, absolute_import, print_function, unicode_literals import os import sys @@ -26,7 +27,7 @@ try: gi.require_version('Gtk', '3.0') from gi.repository import Gtk, GObject except ImportError: - print "ERR: GTK not available" + print("ERR: GTK not available") sys.exit(1) import dstat_comm -- GitLab