projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't use bare 'except:'
[youtube-dl]
/
youtube_dl
/
downloader
/
common.py
diff --git
a/youtube_dl/downloader/common.py
b/youtube_dl/downloader/common.py
index 8ed5c19a6b8079c9807faa4fa7a505a398974975..ca14d64bc192cd8d783ffe604198ec2b064e2cc9 100644
(file)
--- a/
youtube_dl/downloader/common.py
+++ b/
youtube_dl/downloader/common.py
@@
-204,7
+204,7
@@
class FileDownloader(object):
return
try:
os.utime(filename, (time.time(), filetime))
- except:
+ except
Exception
:
pass
return filetime