logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 8dba13f7e82ecb57b8e92e43ce63d51937a50288
parent deacef651f7ca9e206fdd2b962106b943d8cd381
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Tue,  2 Jul 2013 08:36:20 +0200

Squelch git not found exception (#973)

Diffstat:

Myoutube_dl/__init__.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py @@ -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))