From 9289a8996757b2645e5a93b8a14300beca8149d0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 9 Dec 2006 19:30:13 +0000 Subject: [PATCH] Use portage.isvalidatom() for atom validation in repoman. svn path=/main/trunk/; revision=5240 --- bin/repoman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/repoman b/bin/repoman index e2f4ae2c2..451bd21d0 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1099,7 +1099,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()): - if not "/" in token or \ + if not portage.isvalidatom(token) or \ ":" in token and myaux["EAPI"] == "0": badsyntax.append("'%s' not a valid atom" % token) -- 2.26.2