Skip to content

Commit 6075040

Browse files
committed
Cut long line
1 parent babf3df commit 6075040

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎cairosvg/defs.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,8 @@ def use(surface, node):
336336
"""Draw the content of another SVG node."""
337337
surface.reference_count += 1
338338
if not node.unsafe and surface.reference_count > 100_000:
339-
raise ValueError('Abort rendering: more than 100 000 referenced elements')
339+
raise ValueError(
340+
'Abort rendering: more than 100 000 referenced elements')
340341
surface.context.save()
341342
surface.context.translate(
342343
size(surface, node.get('x'), 'x'), size(surface, node.get('y'), 'y'))

0 commit comments

Comments
 (0)