Comment 0 for bug 1213387

Revision history for this message
Augusto Santos (mkhaos7) wrote : Print function on __init__.py not compatible with Python 3

On __Init__.py, on the end of the file, there is a print function that is not compatible with Python 3. While it should, mostly, not be executed, the error is still there:

if __name__ == '__main__':
    import sys
    soup = BeautifulSoup(sys.stdin)
    print soup.prettify()