summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-11 02:12:59 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-11 02:12:59 +0000
commit4908cacd58d2b3eb22a57f1cf9f93115667e2b49 (patch)
tree4815eead1c0b038da06d3413bf5efa8d2c6add86
parentce33c5cc4d61157234da1b612379fc098c1d3ae3 (diff)
downloadportage-4908cacd58d2b3eb22a57f1cf9f93115667e2b49.tar.gz
portage-4908cacd58d2b3eb22a57f1cf9f93115667e2b49.tar.bz2
portage-4908cacd58d2b3eb22a57f1cf9f93115667e2b49.zip
Remove the "missing left parenthesis" test for now since it gives false positives.
svn path=/main/trunk/; revision=6797
-rw-r--r--pym/portage/dep.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/pym/portage/dep.py b/pym/portage/dep.py
index 86975ae26..fec15332f 100644
--- a/pym/portage/dep.py
+++ b/pym/portage/dep.py
@@ -102,9 +102,6 @@ def paren_reduce(mystr,tokenize=1):
elif has_left_paren and not has_right_paren:
raise portage.exception.InvalidDependString(
"missing right parenthesis: '%s'" % mystr)
- elif has_right_paren and not has_left_paren:
- raise portage.exception.InvalidDependString(
- "missing left parenthesis: '%s'" % mystr)
elif has_left_paren and left_paren < right_paren:
freesec,subsec = mystr.split("(",1)
subsec,tail = paren_reduce(subsec,tokenize)