diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-10-02 03:03:41 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-10-02 03:03:41 +0800 |
commit | bd2644120526429783c55e885f7042633826d7da (patch) | |
tree | 78e29df6910de4a27a4f5342c230e331e66fe505 /youtube_dl/utils.py | |
parent | b19e275d99c8dfe121ba0dc3478e4eb9c83e4f9b (diff) |
[utils] Fix xattr error handling
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r-- | youtube_dl/utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index c259f8bff..044520037 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -782,6 +782,7 @@ class XAttrMetadataError(Exception): def __init__(self, code=None, msg='Unknown error'): super(XAttrMetadataError, self).__init__(msg) self.code = code + self.msg = msg # Parsing code and msg if (self.code in (errno.ENOSPC, errno.EDQUOT) or |