From c69b0f404b40e56e05c9ab443353cb7332c61183 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 11 Jun 2007 02:49:15 +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. (trunk r6795:6797) svn path=/main/branches/2.1.2/; revision=6798 --- bin/repoman | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/repoman') diff --git a/bin/repoman b/bin/repoman index 3a939d9ac..c033a0d44 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1129,6 +1129,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