Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichaƫl Zasso <targos@protonmail.com>2021-03-20 14:43:08 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2021-03-24 04:15:10 +0300
commit0f2e1429464c6640e55181b36deea7a1166bed9e (patch)
tree008b6a91f6495d92927e7fde9676298590155d37 /tools
parent44490af948a0b1c3e76d575bd487a16d0cc9af92 (diff)
tools: make genv8constants.py Python3-compatible
PR-URL: https://github.com/nodejs/node/pull/37835 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/genv8constants.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/genv8constants.py b/tools/genv8constants.py
index f750ca4de75..01aa37cc715 100755
--- a/tools/genv8constants.py
+++ b/tools/genv8constants.py
@@ -73,6 +73,7 @@ def out_define():
out_reset()
for line in pipe:
+ line = line.decode('utf-8')
if curr_sym != None:
#
# This bit of code has nasty knowledge of the objdump text output