summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-11 02:05:43 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-11 02:05:43 +0000
commitce33c5cc4d61157234da1b612379fc098c1d3ae3 (patch)
treefa2cd1c5259449cca4f4caba816e923d8423caa2 /bin
parentc1f8e69d58a5e5a843f42f2750f69505274260cc (diff)
downloadportage-ce33c5cc4d61157234da1b612379fc098c1d3ae3.tar.gz
portage-ce33c5cc4d61157234da1b612379fc098c1d3ae3.tar.bz2
portage-ce33c5cc4d61157234da1b612379fc098c1d3ae3.zip
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
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repoman4
1 files changed, 4 insertions, 0 deletions
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)