summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)