[compat] Fix for XML with <!DOCTYPE> in Python 2.7 and 3.2
authorYen Chi Hsuan <yan12125@gmail.com>
Sun, 22 May 2016 17:34:08 +0000 (01:34 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Sun, 22 May 2016 17:40:11 +0000 (01:40 +0800)
commiteb7941e3e6e92bac26f5d21525fc8ac89c934abe
tree8eae588751968cb8293de55b1957d4cecbdcc8dc
parentdb3b8b2103099a8859402f2167d7ad1a8fa66829
[compat] Fix for XML with <!DOCTYPE> in Python 2.7 and 3.2

Such XML documents cause DeprecationWarning if python is run
with `-W error`
test/test_compat.py
youtube_dl/compat.py