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
committerMichaël Zasso <targos@protonmail.com>2021-05-01 13:25:26 +0300
commit2551bb1a618b4ec1aaf33ea5c91c699236e42e03 (patch)
tree39150fcc86dc52408722dc259ff2711df5551b65 /tools
parente57e532d287fdc2516b03b4ce0d61dd4d043fac6 (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