Skip to content

Commit

Permalink
tools: make getnodeversion.py python3-compatible
Browse files Browse the repository at this point in the history
PR-URL: nodejs#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]>
  • 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.