From: Zac Medico Date: Mon, 11 Jun 2007 02:12:59 +0000 (-0000) Subject: Remove the "missing left parenthesis" test for now since it gives false positives. X-Git-Tag: v2.2_pre1~1263 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4908cacd58d2b3eb22a57f1cf9f93115667e2b49;p=portage.git Remove the "missing left parenthesis" test for now since it gives false positives. svn path=/main/trunk/; revision=6797 --- 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)