diff options
author | Vijay Kumar Banerjee <vijay@rtems.org> | 2020-03-29 03:29:10 +0530 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2020-03-30 11:19:05 +1100 |
commit | 508836451b282e016d0310e8913e95fd2cd6b0f3 (patch) | |
tree | 54d032bbc40bf6c19f4d91dced1a69d71bb1d178 | |
parent | nfsclient: Use a system event for RPC (diff) | |
download | rtems-libbsd-508836451b282e016d0310e8913e95fd2cd6b0f3.tar.bz2 |
wscript: Python2 support for unicode strings in contexts
Update #3909
-rw-r--r-- | wscript | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -144,8 +144,8 @@ def bsp_init(ctx, env, contexts): newcmd = y.cmd + '-' + builder newvariant = y.variant + '-' + builder class context(y): - cmd = newcmd - variant = newvariant + cmd = str(newcmd) + variant = str(newvariant) libbsd_buildset_name = builder # Transform the commands to per build variant commands @@ -153,9 +153,9 @@ def bsp_init(ctx, env, contexts): for cmd in waflib.Options.commands: if cmd.startswith(('build', 'clean', 'install')): for builder in builders: - commands += [cmd + '-' + builder] + commands += [str(cmd + '-' + builder)] else: - commands += [cmd] + commands += [str(cmd)] waflib.Options.commands = commands def init(ctx): |