diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-07-30 03:45:08 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-07-30 03:45:08 +0000 |
commit | 08474a7948ea80c25955262b6f6d2d6fa2992fcf (patch) | |
tree | 2c6954c5b988c60efed051ce2f7afa484f5a910a /bin/repoman | |
parent | d6b4521ad656c51513a5bda6a88b38d714d7fcbd (diff) | |
download | portage-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/repoman')
-rwxr-xr-x | bin/repoman | 4 |
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) |