From aeee5837727541d84e5434343e183d774f4c0230 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 (cherry picked from commit 287521d298fe4374a947ca66cb95ae695913bda1) --- 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())