Skip to content

Commit

Permalink
tools: make getnodeversion.py python3-compatible
Browse files Browse the repository at this point in the history
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 committed Jul 19, 2018
1 parent 2d32a7e commit 287521d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/getnodeversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 287521d

Please sign in to comment.