Skip to content

Commit

Permalink
Merge pull request #927 from Tontyna/misc
Browse files Browse the repository at this point in the history
Dont use deprecated Logger.warn
  • Loading branch information
liZe committed Aug 26, 2019
2 parents b8c19a2 + 8277462 commit 023a9f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weasyprint/formatting_structure/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def compute_content_list(content_list, parent_box, counter_values, css_token,
else:
# string() is currently only valid in @page context
# See https://github.com/Kozea/WeasyPrint/issues/723
LOGGER.warn(
LOGGER.warning(
'"string(%s)" is only allowed in page margins' %
(' '.join(value)))
elif type_ == 'target-counter()':
Expand Down

0 comments on commit 023a9f1

Please sign in to comment.