Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-11-17 01:37:20 +0400
committerRyan Dahl <ry@tinyclouds.org>2011-11-17 01:37:20 +0400
commit93dc713670ac9aaef83118de0ffdca428218766d (patch)
treebb66bf9086759571b043896add823a90f24e47be /tools
parent5d0b5a00aac6589091dce4345612d3fccb3c430c (diff)
parent44314ccf48332c91db57a53d5fc0e3de48642681 (diff)
Merge remote branch 'origin/v0.6'
Diffstat (limited to 'tools')
-rw-r--r--tools/getnodeversion.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/getnodeversion.py b/tools/getnodeversion.py
index ddcecec46fc..766e4f60dc0 100644
--- a/tools/getnodeversion.py
+++ b/tools/getnodeversion.py
@@ -1,4 +1,4 @@
-import os,re;
+import os,re
node_version_h = os.path.join(os.path.dirname(__file__), '..', 'src',
'node_version.h')
@@ -13,4 +13,4 @@ for line in f:
if re.match('#define NODE_PATCH_VERSION', line):
patch = line.split()[2]
-print '{0:s}.{1:s}.{2:s}'.format(major, minor, patch)
+print '%(major)s.%(minor)s.%(patch)s'% locals()