mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-23 19:31:55 +00:00
constraints parsing: Fix off-by-one in split
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
117a5c2166
commit
e50037a7da
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user