Commit 81fc5046 authored by Rémi Cardona's avatar Rémi Cardona
Browse files

[py3k] print function (related to #7794111)

parent 919388e7fe25
# -*- coding: utf-8 -*-
from __future__ import print_function
import sys
import re
......@@ -78,7 +79,7 @@ def remove_content_spies(content):
if is_img_spy(img):
img.drop_tree()
elif img.get('height') == '1' and img.get('width') == '1':
print tostring(img), 'is probably a spy'
print(tostring(img), 'is probably a spy')
for anchor in root.findall('.//a'):
if is_tweetmeme_spy(anchor):
anchor.drop_tree()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment