Remove the "missing left parenthesis" test for now since it gives false positives.
authorZac Medico <zmedico@gentoo.org>
Mon, 11 Jun 2007 02:12:59 +0000 (02:12 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 11 Jun 2007 02:12:59 +0000 (02:12 -0000)
svn path=/main/trunk/; revision=6797

pym/portage/dep.py

index 86975ae263680f4895c23bc7eef44116a183bdaa..fec15332f5ee1f58da99c5fc9b9015d30f3a5907 100644 (file)
@@ -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)