projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40b9635
)
[utils] Fix another old python 2.6 kwargs issue (Closes #5539)
author
Sergey M․
<dstftw@gmail.com>
Mon, 27 Apr 2015 14:00:18 +0000
(20:00 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 27 Apr 2015 14:00:18 +0000
(20:00 +0600)
youtube_dl/utils.py
patch
|
blob
|
history
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index 7d15eab64e8bf7ef779bd3b6bd8a64fbfcd8ece7..f07679c76458947569fb7c33dd16eead1324e48e 100644
(file)
--- a/
youtube_dl/utils.py
+++ b/
youtube_dl/utils.py
@@
-37,6
+37,7
@@
from .compat import (
compat_chr,
compat_html_entities,
compat_http_client,
+ compat_kwargs,
compat_parse_qs,
compat_socket_create_connection,
compat_str,
@@
-114,7
+115,7
@@
def write_json_file(obj, fn):
'encoding': 'utf-8',
})
- tf = tempfile.NamedTemporaryFile(**
args
)
+ tf = tempfile.NamedTemporaryFile(**
compat_kwargs(args)
)
try:
with tf: