aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/compat.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-11-20 16:35:55 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-11-20 16:36:13 +0100
commitb244b5c3f9082a307f0e1c4ee561594bd389aeb2 (patch)
tree473b0f70e904b0db842ab7133d0ffacda2160fa1 /youtube_dl/compat.py
parentf42c190769869278cdd5f7ca62d2bd29e2a9d709 (diff)
remove unused imports
Diffstat (limited to 'youtube_dl/compat.py')
-rw-r--r--youtube_dl/compat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/compat.py b/youtube_dl/compat.py
index adf81e7ab..9d33a8ec5 100644
--- 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):