projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69ede8e
)
[utils] Fix struct.pack call on very old Python versions (#4181)
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 13 Nov 2014 23:39:32 +0000
(
00:39
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 13 Nov 2014 23:39:32 +0000
(
00:39
+0100)
youtube_dl/utils.py
patch
|
blob
|
history
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index 5786fa699fe08487e1d62321329cb687d3952a29..7460d87017d702dce0093049379d80ab149b490b 100644
(file)
--- a/
youtube_dl/utils.py
+++ b/
youtube_dl/utils.py
@@
-843,7
+843,7
@@
def bytes_to_intlist(bs):
def intlist_to_bytes(xs):
if not xs:
return b''
- return struct
.
pack('%dB' % len(xs), *xs)
+ return struct
_
pack('%dB' % len(xs), *xs)
# Cross-platform file locking