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 <[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 authored and targos committed Jul 20, 2018
1 parent d0f8af0 commit 6b925eb
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 6b925eb

Please sign in to comment.