From: Ben Noordhuis Date: Mon, 19 Sep 2011 14:43:53 +0000 (+0200) Subject: build: make wscript work with python 2.4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3aa1975c5837a160b849d2b81fc7a4bcd7870155;p=platform%2Fupstream%2Fnodejs.git build: make wscript work with python 2.4 --- diff --git a/wscript b/wscript index 47144a468..bc8d25bd4 100644 --- a/wscript +++ b/wscript @@ -241,7 +241,7 @@ def get_node_version(): return "%s.%s.%s%s" % ( node_major_version, node_minor_version, node_patch_version, - "-pre" if node_is_release == "0" else "" + node_is_release == "0" and "-pre" or "" )