projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31c12cf
)
In _ensure_default_encoding(), make sure the default encoding is normalized.
author
Zac Medico
<zmedico@gentoo.org>
Sat, 28 Feb 2009 05:43:29 +0000
(
05:43
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 28 Feb 2009 05:43:29 +0000
(
05:43
-0000)
svn path=/main/trunk/; revision=12732
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 9a563a54b65039bf13b0bb1956a368c4bc557f52..faf549ff61d1818e000e8c5ec367f57235b13221 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-7612,7
+7612,7
@@
def _ensure_default_encoding():
"""
default_fallback = 'utf_8'
- default_encoding = sys.getdefaultencoding()
+ default_encoding = sys.getdefaultencoding()
.lower().replace('-', '_')
required_encodings = set(['ascii', 'utf_8'])
required_encodings.add(default_encoding)
missing_encodings = set()