Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6b925eb

Browse filesBrowse files
silverwindtargos
authored andcommitted
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>
1 parent d0f8af0 commit 6b925eb
Copy full SHA for 6b925eb

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎tools/getnodeversion.py‎

Copy file name to clipboardExpand all lines: tools/getnodeversion.py
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.