diff options
-rwxr-xr-x | bin/repoman | 2 |
1 files changed, 1 insertions, 1 deletions
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) |