Remove print statements

"print item" raises an exception when type of item is
jinja2.runtime.StrictUndefined