2
0
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:
Jurko Gospodnetić
2012-06-11 23:37:53 +00:00
parent a4bc299d04
commit 1855af37fa

View File

@@ -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]):