projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deacef6
)
Squelch git not found exception (#973)
author
Philipp Hagemeister
<phihag@phihag.de>
Tue, 2 Jul 2013 06:36:20 +0000
(08:36 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Tue, 2 Jul 2013 06:36:20 +0000
(08:36 +0200)
youtube_dl/__init__.py
patch
|
blob
|
history
diff --git
a/youtube_dl/__init__.py
b/youtube_dl/__init__.py
index d4a005f6244975945f447752b6494d0fb255cc7d..db63d0adb7a68f3f1f1eb39e5da7dd4a38937ebf 100644
(file)
--- 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))