From 6b925ebabad659e23bb6617f7fc2e1d6c02f6b1b Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 18 Jul 2018 18:26:21 +0200 Subject: [PATCH] tools: make getnodeversion.py python3-compatible PR-URL: https://github.com/nodejs/node/pull/21872 Reviewed-By: James M Snell Reviewed-By: Rich Trott Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Trivikram Kamat --- tools/getnodeversion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/getnodeversion.py b/tools/getnodeversion.py index f2032cccefe936..59f8aabe49eceb 100644 --- a/tools/getnodeversion.py +++ b/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())