★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/6b925ebabaNouvelle recherche | Portail wanayoo
Skip to content
Permalink
Browse files
tools: make getnodeversion.py python3-compatible
PR-URL: #21872
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
silverwind authored and targos committed Jul 20, 2018
1 parent d0f8af0 commit 6b925ebabad659e23bb6617f7fc2e1d6c02f6b1b
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/getnodeversion.py
@@ -17,4 +17,4 @@
if re.match('^#define NODE_PATCH_VERSION', line):
patch = line.split()[2]

print '%(major)s.%(minor)s.%(patch)s'% locals()
print('%(major)s.%(minor)s.%(patch)s'% locals())

0 comments on commit 6b925eb

Please sign in to comment.