Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 289253 Details for
Bug 385123
flaggie: NewVariable('IUSE') contains random USE_EXPAND values in output
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Mark USE expansion-added whitespace as such.
Mark-USE-expansion-added-whitespace-as-such.patch (text/plain), 984 bytes, created by
Michał Górny
on 2011-10-08 17:18:41 UTC
(
hide
)
Description:
Mark USE expansion-added whitespace as such.
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2011-10-08 17:18:41 UTC
Size:
984 bytes
patch
obsolete
>From a2cf2c4bd33f6d38f50396144515d7e23f994e8d Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> >Date: Sat, 8 Oct 2011 19:15:17 +0200 >Subject: [PATCH] Mark USE expansion-added whitespace as such. > >This way, writing new USE= won't create trailing whitespace. >--- > lib/flaggie/makeconf.py | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/lib/flaggie/makeconf.py b/lib/flaggie/makeconf.py >index 05ec839..9ae46b6 100644 >--- a/lib/flaggie/makeconf.py >+++ b/lib/flaggie/makeconf.py >@@ -266,10 +266,11 @@ class MakeConfVariable(object): > self._useexpanded[key] = set(values) > > newtokens = [] >+ var._flattokens.append(self.FlattenedToken( >+ MakeConf.MakeConfFile.Whitespace(' '))) > for t in var._flattokens: > t.use_expanded = key > newtokens.append(t) >- newtokens.append(self.FlattenedToken(MakeConf.MakeConfFile.Whitespace(' '))) > newtokens.extend(self._flattokens) > self._flattokens = newtokens > >-- >1.7.7
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 385123
: 289253 |
289255