[utils] Drop an compatibility wrapper for Python < 2.6
authorYen Chi Hsuan <yan12125@gmail.com>
Sat, 27 May 2017 15:05:02 +0000 (23:05 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Sat, 27 May 2017 15:05:02 +0000 (23:05 +0800)
commitb407d8533d3956a7c27ad42cbde9a877c36df72c
treefdb0cfcd2c02fdec24000c1ae459aaabb72d2c93
parent20e2c9de0414f18dff26020045445cf91cad6b70
[utils] Drop an compatibility wrapper for Python < 2.6

addinfourl.getcode is added since Python 2.6a1. As youtube-dl now
requires 2.6+, this is no longer necessary.

See https://github.com/python/cpython/commit/9b0d46db115c10767b240a0a64286214b50fe6ad
youtube_dl/utils.py