mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 01:12:13 +00:00
Corrected a bug in the Python Boost Build implementation causing its command-line parsing to fail when given an empty-string command-line parameter.
[SVN r78903]
This commit is contained in:
@@ -109,7 +109,7 @@ def from_command_line(command_line):
|
||||
properties = []
|
||||
|
||||
for e in command_line:
|
||||
if e[0] != "-":
|
||||
if e[:1] != "-":
|
||||
# Build request spec either has "=" in it, or completely
|
||||
# consists of implicit feature values.
|
||||
if e.find("=") != -1 or looks_like_implicit_value(e.split("/")[0]):
|
||||
|
||||
Reference in New Issue
Block a user