diff options
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/SCons/Util.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/engine/SCons/Util.py b/src/engine/SCons/Util.py index f478399..11bcf2e 100644 --- a/src/engine/SCons/Util.py +++ b/src/engine/SCons/Util.py @@ -481,10 +481,7 @@ def to_String_for_subst(s, if isinstance(s, BaseStringTypes): return s elif isinstance(s, SequenceTypes): - l = [] - for e in s: - l.append(to_String_for_subst(e)) - return ' '.join( s ) + return ' '.join([to_String_for_subst(e) for e in s]) elif isinstance(s, UserString): # s.data can only be either a unicode or a regular # string. Please see the UserString initializer. |