diff options
-rw-r--r-- | pym/portage/dep.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/dep.py b/pym/portage/dep.py index 998abfee7..5f858849b 100644 --- a/pym/portage/dep.py +++ b/pym/portage/dep.py @@ -115,6 +115,9 @@ def paren_reduce(mystr,tokenize=1): subsec = strip_empty(subsec.split(" ")) return [mylist+subsec,tail] return mylist+[subsec],tail + if not isinstance(tail, basestring): + raise portage.exception.InvalidDependString( + "malformed syntax: '%s'" % mystr) mystr = tail if freesec: if tokenize: |