From ce33c5cc4d61157234da1b612379fc098c1d3ae3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 11 Jun 2007 02:05:43 +0000 Subject: For bug #181355, detect parenthesis mismatch in paren_reduce(), raise an InvalidDependString exception, and make sure that all callers handle the exception properly. svn path=/main/trunk/; revision=6796 --- bin/repoman | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/repoman') diff --git a/bin/repoman b/bin/repoman index 5f7160024..5b16ae0b1 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1141,6 +1141,10 @@ for x in scanlist: except ValueError: badsyntax.append("parenthesis mismatch") mydeplist = [] + except portage.exception.InvalidDependString, e: + badsyntax.append(str(e)) + del e + mydeplist = [] try: portage.dep.use_reduce(mydeplist, excludeall=myiuse) -- cgit v1.2.3-1-g7c22