diff --git a/ChangeLog b/ChangeLog index a69ec5c2..dfc891e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ NEW IN WAF 1.7.5 ---------------- * Fixed the kde4 library detection on Fedora * New tool for protocol buffers (protoc.py) #1184 +* Fixed a syntax error affecting Python < 2.6 NEW IN WAF 1.7.4 ---------------- diff --git a/waf-light b/waf-light index d79c80a2..74fcbee1 100755 --- a/waf-light +++ b/waf-light @@ -32,7 +32,7 @@ POSSIBILITY OF SUCH DAMAGE. import os, sys -VERSION="1.7.4" +VERSION="1.7.5" REVISION="x" INSTALL="x" C1='x' diff --git a/waflib/Build.py b/waflib/Build.py index 308c9704..32688162 100644 --- a/waflib/Build.py +++ b/waflib/Build.py @@ -177,7 +177,9 @@ class BuildContext(Context.Context): ) """ def f(rule): - return self(*k, rule=rule, **kw) + ret = self(*k, **kw) + ret.rule = rule + return ret return f def __copy__(self): diff --git a/waflib/Context.py b/waflib/Context.py index 02896c00..df73a340 100644 --- a/waflib/Context.py +++ b/waflib/Context.py @@ -11,10 +11,10 @@ from waflib import Utils, Errors, Logs import waflib.Node # the following 3 constants are updated on each new release (do not touch) -HEXVERSION=0x1070400 +HEXVERSION=0x1070500 """Constant updated on new releases""" -WAFVERSION="1.7.4" +WAFVERSION="1.7.5" """Constant updated on new releases""" WAFREVISION="a7e69d6b81b04729804754c4d5214da063779a65" diff --git a/wscript b/wscript index 1a14a82e..3605be88 100644 --- a/wscript +++ b/wscript @@ -10,7 +10,7 @@ To add a tool that does not exist in the folder compat15, pass an absolute path: """ -VERSION="1.7.4" +VERSION="1.7.5" APPNAME='waf' REVISION=''