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