mirror of
https://github.com/Kozea/WeasyPrint.git
synced 2024-10-05 08:27:22 +03:00
Remove intermediate steps logging
This commit is contained in:
parent
c49f302aee
commit
9020b4bec0
@ -48,7 +48,6 @@ BOX_TYPE_FROM_DISPLAY = {
|
||||
def build_formatting_structure(element_tree, style_for, get_image_from_uri,
|
||||
base_url):
|
||||
"""Build a formatting structure (box tree) from an element tree."""
|
||||
LOGGER.info('Step 4.1 - Building basic boxes')
|
||||
box_list = element_to_box(
|
||||
element_tree, style_for, get_image_from_uri, base_url)
|
||||
if box_list:
|
||||
@ -67,10 +66,8 @@ def build_formatting_structure(element_tree, style_for, get_image_from_uri,
|
||||
box, = element_to_box(
|
||||
element_tree, root_style_for, get_image_from_uri, base_url)
|
||||
|
||||
LOGGER.info('Step 4.2 - Checking pending targets')
|
||||
TARGET_COLLECTOR.check_pending_targets()
|
||||
|
||||
LOGGER.info('Step 4.3 - Creating anonymous boxes')
|
||||
box.is_for_root_element = True
|
||||
# If this is changed, maybe update weasy.layout.pages.make_margin_boxes()
|
||||
process_whitespace(box)
|
||||
|
Loading…
Reference in New Issue
Block a user