aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-07-02 08:36:20 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-07-02 08:36:20 +0200
commit8dba13f7e82ecb57b8e92e43ce63d51937a50288 (patch)
treea61c6626117131fb431ada12ccd792f45892a2ed /youtube_dl
parentdeacef651f7ca9e206fdd2b962106b943d8cd381 (diff)
Squelch git not found exception (#973)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index d4a005f62..db63d0adb 100644
--- 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))