diff options
-rw-r--r-- | waftools/generators/headers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/waftools/generators/headers.py b/waftools/generators/headers.py index 828d61fd57..8c164cca73 100644 --- a/waftools/generators/headers.py +++ b/waftools/generators/headers.py @@ -6,7 +6,7 @@ def __get_version__(ctx): cwd=ctx.srcnode.abspath()) process.wait() (version, err) = process.communicate() - return version.strip().decode("utf-8") + return version.strip().decode('utf-8').encode('ascii', 'ignore') def __get_build_date__(): import time |