summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-07-30 03:45:08 +0000
committerZac Medico <zmedico@gentoo.org>2007-07-30 03:45:08 +0000
commit08474a7948ea80c25955262b6f6d2d6fa2992fcf (patch)
tree2c6954c5b988c60efed051ce2f7afa484f5a910a /bin
parentd6b4521ad656c51513a5bda6a88b38d714d7fcbd (diff)
downloadportage-08474a7948ea80c25955262b6f6d2d6fa2992fcf.tar.gz
portage-08474a7948ea80c25955262b6f6d2d6fa2992fcf.tar.bz2
portage-08474a7948ea80c25955262b6f6d2d6fa2992fcf.zip
For bug #181355, detect parenthesis mismatch in paren_reduce(), raise an InvalidDependString exception, and make sure that all callers handle the exception properly. (branches/2.1.2 r6798)
svn path=/main/branches/2.1.2.9/; revision=7459
Diffstat (limited to 'bin')
-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)