Skip to content

Commit 3aa1975

Browse files
committed
build: make wscript work with python 2.4
1 parent 243c218 commit 3aa1975

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def get_node_version():
241241
return "%s.%s.%s%s" % ( node_major_version,
242242
node_minor_version,
243243
node_patch_version,
244-
"-pre" if node_is_release == "0" else ""
244+
node_is_release == "0" and "-pre" or ""
245245
)
246246

247247

0 commit comments

Comments
 (0)