2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 12:42:11 +00:00

command is always a sequence, always use extend().

This commit is contained in:
Aaron Boman
2014-10-06 12:37:10 -05:00
parent 905a816239
commit 0abdbd568b

View File

@@ -115,10 +115,7 @@ def init(version = None, command = None, options = None):
command = to_seq(command)
if command:
if isinstance(command, str):
options.append('<command>' + command)
else:
options.extend("<command>"+cmd for cmd in command)
options.extend("<command>"+cmd for cmd in command)
configure(version,options)
def configure(version=None, options=None):