diff options
author | Uri Simchoni <urisimchoni@gmail.com> | 2015-05-04 09:12:45 +0300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2015-05-20 11:19:11 +0200 |
commit | 25b17210753117170ba1e40a3cbda0b97e208199 (patch) | |
tree | 19406896fb97cc230ebb50e69c895ddabafb1d20 /buildtools | |
parent | 56114bb6778a3515cf8da34a1413b86fe1f904ca (diff) | |
download | samba-25b17210753117170ba1e40a3cbda0b97e208199.tar.gz |
waf: Fix parsing of cross-answers file in case answer includes a colon
The answer provided in the cross-answers file may include a colon,
as in:
Checking uname version type: "#57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014"
Signed-off-by: Uri Simchoni <urisimchoni@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/samba_cross.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_cross.py b/buildtools/wafsamba/samba_cross.py index 8911d4c8b0f..ed3af1e7db1 100644 --- a/buildtools/wafsamba/samba_cross.py +++ b/buildtools/wafsamba/samba_cross.py @@ -55,7 +55,7 @@ def cross_answer(ca_file, msg): if line == '' or line[0] == '#': continue if line.find(':') != -1: - a = line.split(':') + a = line.split(':', 1) thismsg = a[0].strip() if thismsg != msg: continue |