summaryrefslogtreecommitdiff
path: root/grc/core/generator/flow_graph.py.mako
diff options
context:
space:
mode:
authorHåkon Vågsether <haakonsv@gmail.com>2018-07-28 15:46:38 +0200
committerMarcus Müller <marcus@hostalia.de>2018-08-18 18:37:49 +0200
commitb4e5838d07e0a82f3632928d8a5d403f11c61f34 (patch)
tree94e05430cd9c2f150d52915190f41e0fd3c4dff0 /grc/core/generator/flow_graph.py.mako
parentf2f221b0f15314a70b902f448946f1ac3aaa9c44 (diff)
Fix Python2-style prints
Diffstat (limited to 'grc/core/generator/flow_graph.py.mako')
-rw-r--r--grc/core/generator/flow_graph.py.mako4
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/core/generator/flow_graph.py.mako b/grc/core/generator/flow_graph.py.mako
index b68981867d..62b5f4665b 100644
--- a/grc/core/generator/flow_graph.py.mako
+++ b/grc/core/generator/flow_graph.py.mako
@@ -247,7 +247,7 @@ gr.io_signaturev(${len(io_sigs)}, ${len(io_sigs)}, [${', '.join(size_strs)}])\
with open(filename) as ss:
self.setStyleSheet(ss.read())
except Exception as e:
- print >> sys.stderr, e
+ print(e, file=sys.stderr)
% endif
% endif
##
@@ -334,7 +334,7 @@ def main(top_block_cls=${class_name}, options=None):
% endif
% if flow_graph.get_option('realtime_scheduling'):
if gr.enable_realtime_scheduling() != gr.RT_OK:
- print "Error: failed to enable real-time scheduling."
+ print("Error: failed to enable real-time scheduling.")
% endif
% if generate_options == 'qt_gui':