[youtube] Add and extractor for the subscriptions feed (closes #498)
[youtube-dl] / youtube_dl / __init__.py
index d4a005f6244975945f447752b6494d0fb255cc7d..db63d0adb7a68f3f1f1eb39e5da7dd4a38937ebf 100644 (file)
@@ -591,7 +591,7 @@ def _real_main(argv=None):
             if re.match('[0-9a-f]+', out):
                 ydl.to_screen(u'[debug] Git HEAD: ' + out)
         except:
-            pass
+            sys.exc_clear()
         ydl.to_screen(u'[debug] Python version %s - %s' %(platform.python_version(), platform.platform()))
         ydl.to_screen(u'[debug] Proxy map: ' + str(proxy_handler.proxies))