From 00ea7e20a4d16483f3ce28ab3f148fbb4fdf88c9 Mon Sep 17 00:00:00 2001 From: Bas Couwenberg Date: Thu, 23 Jul 2015 21:34:23 +0200 Subject: [PATCH] Add missing parentheses in call to 'print'. With Python 3 the missing parentheses are a SyntaxError. This change along with the setup.py changes in #38 allow building the python bindings with Python 3.4 (#36) --- mapnik/printing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapnik/printing.py b/mapnik/printing.py index e61f7c0ab..3568339f0 100644 --- a/mapnik/printing.py +++ b/mapnik/printing.py @@ -942,7 +942,7 @@ def render_legend(self,m, page_break=False, ctx=None, collumns=1,width=None, hei try: sym.avoid_edges=False except: - print "**** Cant set avoid edges for rule", r.name + print("**** Cant set avoid edges for rule", r.name) if r.min_scale <= m.scale_denominator() and m.scale_denominator() < r.max_scale: lerule = r lerule.min_scale = 0