projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f42c190
)
remove unused imports
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 20 Nov 2014 15:35:55 +0000
(16:35 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 20 Nov 2014 15:36:13 +0000
(16:36 +0100)
youtube_dl/compat.py
patch
|
blob
|
history
youtube_dl/extractor/arte.py
patch
|
blob
|
history
youtube_dl/extractor/comedycentral.py
patch
|
blob
|
history
youtube_dl/extractor/goldenmoustache.py
patch
|
blob
|
history
diff --git
a/youtube_dl/compat.py
b/youtube_dl/compat.py
index adf81e7ab4f9bf8d3a8c5365d3c9f9c65b67c7da..9d33a8ec5fbd80a75a5d382e8621f6dc616c7aa0 100644
(file)
--- a/
youtube_dl/compat.py
+++ b/
youtube_dl/compat.py
@@
-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):
diff --git
a/youtube_dl/extractor/arte.py
b/youtube_dl/extractor/arte.py
index aafc3a24dfe56b47a6d4a1c4722b92b294e39f7b..3a57ce52785a7d4950ec694b71fb9bdff69d1e55 100644
(file)
--- a/
youtube_dl/extractor/arte.py
+++ b/
youtube_dl/extractor/arte.py
@@
-5,7
+5,6
@@
import re
from .common import InfoExtractor
from ..utils import (
- ExtractorError,
find_xpath_attr,
unified_strdate,
get_element_by_id,
diff --git
a/youtube_dl/extractor/comedycentral.py
b/youtube_dl/extractor/comedycentral.py
index 49b978b4eb0f17555f20e6c27f16880371610720..f0da1844fa5274be4d3e36d36ecba3b99669e552 100644
(file)
--- a/
youtube_dl/extractor/comedycentral.py
+++ b/
youtube_dl/extractor/comedycentral.py
@@
-2,7
+2,6
@@
from __future__ import unicode_literals
import re
-from .common import InfoExtractor
from .mtv import MTVServicesInfoExtractor
from ..utils import (
compat_str,
diff --git
a/youtube_dl/extractor/goldenmoustache.py
b/youtube_dl/extractor/goldenmoustache.py
index 7e13b131ba7702bc0db40781a0e9942f721afeee..10001d4d95f9895c5e965f88c967aa87f63ff7f2 100644
(file)
--- a/
youtube_dl/extractor/goldenmoustache.py
+++ b/
youtube_dl/extractor/goldenmoustache.py
@@
-1,9
+1,7
@@
from __future__ import unicode_literals
-import re
from .common import InfoExtractor
from ..utils import (
- parse_duration,
int_or_none,
)