From 043f60dc2aa41537e1da3849555a2addbc392dd1 Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Tue, 21 Jun 2016 09:32:37 +0200 Subject: [PATCH] [change] make Python 3 compatible calls to print --- pylot/core/util/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pylot/core/util/utils.py b/pylot/core/util/utils.py index 21976607..521c548b 100644 --- a/pylot/core/util/utils.py +++ b/pylot/core/util/utils.py @@ -234,10 +234,10 @@ def prepTimeAxis(stime, trace): etime = stime + nsamp / srate time_ax = np.arange(stime, etime, tincr) if len(time_ax) < nsamp: - print 'elongate time axes by one datum' + print('elongate time axes by one datum') time_ax = np.arange(stime, etime + tincr, tincr) elif len(time_ax) > nsamp: - print 'shorten time axes by one datum' + print('shorten time axes by one datum') time_ax = np.arange(stime, etime - tincr, tincr) if len(time_ax) != nsamp: raise ValueError('{0} samples of data \n '