Skip to content

Commit 34ca322

Browse files
committed
Removed print statements
1 parent 8581bac commit 34ca322

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

partial_load/loader.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,8 @@ def render_template_blocks(template, block_list, context):
2222
def render_template_blocks_nodelist(nodelist, block_list, context):
2323
block_map = {}
2424

25-
print "nodelist: %s" % nodelist
26-
2725
for node in nodelist:
28-
print "node class: %s" % node.__class__.__name__
29-
3026
if isinstance(node, BlockNode) and node.name in block_list:
31-
print "node name: %s" % node.name
3227
block_map.setdefault(node.name, node.render(Context(context)))
3328

3429
for key in ('nodelist', 'nodelist_true', 'nodelist_false'):
@@ -38,7 +33,6 @@ def render_template_blocks_nodelist(nodelist, block_list, context):
3833
except:
3934
pass
4035
else:
41-
print "inner_block_map 1: %s" % inner_block_map
4236
block_map.update(inner_block_map)
4337
inner_block_map = {}
4438

@@ -49,7 +43,6 @@ def render_template_blocks_nodelist(nodelist, block_list, context):
4943
except BlockNotFound:
5044
pass
5145
else:
52-
print "inner_block_map 2: %s" % inner_block_map
5346
block_map.update(inner_block_map)
5447

5548
return block_map

0 commit comments

Comments
 (0)