Skip to content

Commit 00ea7e2

Browse files
committed
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)
1 parent c005502 commit 00ea7e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapnik/printing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ def render_legend(self,m, page_break=False, ctx=None, collumns=1,width=None, hei
942942
try:
943943
sym.avoid_edges=False
944944
except:
945-
print "**** Cant set avoid edges for rule", r.name
945+
print("**** Cant set avoid edges for rule", r.name)
946946
if r.min_scale <= m.scale_denominator() and m.scale_denominator() < r.max_scale:
947947
lerule = r
948948
lerule.min_scale = 0

0 commit comments

Comments
 (0)