From e50037a7da66f0c7ddc093bb8da8ac1d4b7966d1 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Sat, 21 May 2016 16:44:20 +0000 Subject: [PATCH] constraints parsing: Fix off-by-one in split Signed-off-by: Niels Thykier --- britney.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney.py b/britney.py index 1da926b..becf833 100755 --- a/britney.py +++ b/britney.py @@ -616,7 +616,7 @@ class Britney(object): for arch in self.options.architectures: deps = [] for pkg_spec in pkg_list: - s = pkg_spec.split(None, 2) + s = pkg_spec.split(None, 1) if len(s) == 1: deps.append(s[0]) else: