From: Brian Harring Date: Thu, 5 Jan 2006 08:37:40 +0000 (-0000) Subject: filter '(' and ')' tokens also when checking for invalid atoms. X-Git-Tag: v2.1_pre4~54 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=66d5fa98fb2c4788a3b2ada3436719b4d0cf5830;p=portage.git filter '(' and ')' tokens also when checking for invalid atoms. svn path=/main/trunk/; revision=2533 --- diff --git a/bin/repoman b/bin/repoman index 19e0c430d..39c92902c 100755 --- a/bin/repoman +++ b/bin/repoman @@ -989,7 +989,7 @@ for x in scanlist: if mytype in ("DEPEND", "RDEPEND", "PDEPEND"): - for token in filter(lambda x: not (x.endswith("?") or x.strip() in ("||", "&&")), mydepstr.split()): + for token in filter(lambda x: not (x.endswith("?") or x.strip() in ("||", "&&", "(", ")")), mydepstr.split()): if not "/" in token: badsyntax.append("'%s' not a valid atom" % token)