projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[npo] Add support for 2doc.nl (Closes #10842)
[youtube-dl]
/
youtube_dl
/
utils.py
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index c259f8bff4c5aefbe277f35d4ed228c5683475d5..0569d231c66cc4f952449e15131de8fa120439e2 100644
(file)
--- a/
youtube_dl/utils.py
+++ b/
youtube_dl/utils.py
@@
-1,5
+1,5
@@
#!/usr/bin/env python
#!/usr/bin/env python
-#
-*- coding: utf-8 -*-
+#
coding: utf-8
from __future__ import unicode_literals
from __future__ import unicode_literals
@@
-782,6
+782,7
@@
class XAttrMetadataError(Exception):
def __init__(self, code=None, msg='Unknown error'):
super(XAttrMetadataError, self).__init__(msg)
self.code = code
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
# Parsing code and msg
if (self.code in (errno.ENOSPC, errno.EDQUOT) or