Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 276377 Details for
Bug 370565
Portage should treat "${flag}? ( )" and "|| ( )" in unexpanded dependencies as error
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
portage-detect_invalid_dependencies.patch
portage-detect_invalid_dependencies.patch (text/plain), 618 bytes, created by
Arfrever Frehtes Taifersar Arahesis (RETIRED)
on 2011-06-09 13:29:12 UTC
(
hide
)
Description:
portage-detect_invalid_dependencies.patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis (RETIRED)
Created:
2011-06-09 13:29:12 UTC
Size:
618 bytes
patch
obsolete
>diff --git a/pym/portage/dep/__init__.py b/pym/portage/dep/__init__.py >index 8621543..ba37324 100644 >--- a/pym/portage/dep/__init__.py >+++ b/pym/portage/dep/__init__.py >@@ -369,6 +369,9 @@ def use_reduce(depstr, uselist=[], masklist=[], matchall=False, excludeall=[], i > if need_simple_token: > raise InvalidDependString( > _("expected: file name, got: '%s', token %s") % (token, pos+1)) >+ if len(mysplit) >= pos+2 and mysplit[pos+1] == ")": >+ raise InvalidDependString( >+ _("expected: dependency string, got: ')', token %s") % (pos+1,)) > need_bracket = False > stack.append([]) > level += 1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 370565
: 276377