Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: Sergei Trofimovich <slyfox@g.o>, gentoo-portage-dev@l.g.o
Cc: zmedico@g.o, Sergei Trofimovich <siarheit@××××××.com>, dolsen@g.o, qa@g.o, mgorny@g.o
Subject: [gentoo-portage-dev] Re: [PATCH v2] repoman: new QA error: slot operator under '||' alternative
Date: Sat, 18 Jun 2016 21:16:01
Message-Id: 5765BA0A.9090100@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH v2] repoman: new QA error: slot operator under '||' alternative by Sergei Trofimovich
1 On 06/18/2016 12:27 PM, Sergei Trofimovich wrote:
2 > + if in_any_of and atom.slot_operator:
3 > + qatracker.add_error("dependency.badslotop", relative_path +
4 > + ": %s: '%s' uses ':=' slot operator under '||' dep clause." %
5 > + (mytype, atom))
6
7 It should be like this:
8
9 if in_any_of and atom.slot_operator == '=':
10
11 Because the case of atom.slot_operator == '*' is not forbidden.
12 --
13 Thanks,
14 Zac

Replies