Skip to content

Commit 6b925eb

Browse files
silverwindtargos
authored andcommitted
tools: make getnodeversion.py python3-compatible
PR-URL: #21872 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent d0f8af0 commit 6b925eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/getnodeversion.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
if re.match('^#define NODE_PATCH_VERSION', line):
1818
patch = line.split()[2]
1919

20-
print '%(major)s.%(minor)s.%(patch)s'% locals()
20+
print('%(major)s.%(minor)s.%(patch)s'% locals())

0 commit comments

Comments
 (0)