@ -306,7 +306,7 @@ def workaround_optparse_bug9161():
og = optparse.OptionGroup(op, 'foo')
try:
og.add_option('-t')
except TypeError as te:
except TypeError:
real_add_option = optparse.OptionGroup.add_option
def _compat_add_option(self, *args, **kwargs):
@ -5,7 +5,6 @@ import re
from .common import InfoExtractor
from ..utils import (
ExtractorError,
find_xpath_attr,
unified_strdate,
get_element_by_id,
@ -2,7 +2,6 @@ from __future__ import unicode_literals
import re
from .mtv import MTVServicesInfoExtractor
compat_str,
@ -1,9 +1,7 @@
from __future__ import unicode_literals
parse_duration,
int_or_none,
)