Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 228145 Details for
Bug 315709
ebuild script: Unicode unequal comparison failed to convert both arguments to Unicode
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Encode mycwd back to byte format
portage-315709-convert-mycwd-to-bytes.diff (text/plain), 755 bytes, created by
Michał Górny
on 2010-04-17 13:04:04 UTC
(
hide
)
Description:
Encode mycwd back to byte format
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2010-04-17 13:04:04 UTC
Size:
755 bytes
patch
obsolete
>commit 7848ac33618a142dcef732d735f9adf3582edaa2 >Author: MichaŠGórny <gentoo@mgorny.alt.pl> >Date: Sat Apr 17 14:57:12 2010 +0200 > > Convert wrapped getcwd() result back to byte format to make it > suitable for comparison with os.environ['PWD']. > >diff --git a/bin/ebuild b/bin/ebuild >index 3eaea94..35a03fc 100755 >--- a/bin/ebuild >+++ b/bin/ebuild >@@ -112,7 +112,7 @@ if pf is None: > sys.exit(1) > > if not os.path.isabs(ebuild): >- mycwd = os.getcwd() >+ mycwd = portage._unicode_encode(os.getcwd(), encoding=portage._encodings['fs']) > # Try to get the non-canonical path from the PWD evironment variable, since > # the canonical path returned from os.getcwd() may may be unusable in > # cases where the directory stucture is built from symlinks. >
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 315709
:
228113
| 228145 |
228147