diff options
author | Brian Harring <ferringb@gentoo.org> | 2006-01-05 08:37:40 +0000 |
---|---|---|
committer | Brian Harring <ferringb@gentoo.org> | 2006-01-05 08:37:40 +0000 |
commit | 66d5fa98fb2c4788a3b2ada3436719b4d0cf5830 (patch) | |
tree | 15b7cf4c827eb81194296074a7c5f2e770b16e69 | |
parent | afd26ffa8819f1a61a3a41ee5a549f254363b153 (diff) | |
download | portage-66d5fa98fb2c4788a3b2ada3436719b4d0cf5830.tar.gz portage-66d5fa98fb2c4788a3b2ada3436719b4d0cf5830.tar.bz2 portage-66d5fa98fb2c4788a3b2ada3436719b4d0cf5830.zip |
filter '(' and ')' tokens also when checking for invalid atoms.
svn path=/main/trunk/; revision=2533
-rwxr-xr-x | bin/repoman | 2 |
1 files changed, 1 insertions, 1 deletions
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) |