From 1855af37fa447d900c340d5dc2829da97225adf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Mon, 11 Jun 2012 23:37:53 +0000 Subject: [PATCH] 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] --- v2/build/build_request.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/build/build_request.py b/v2/build/build_request.py index e149ab894..7b1213d25 100644 --- a/v2/build/build_request.py +++ b/v2/build/build_request.py @@ -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]):