summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2011-06-09 15:00:55 +0200
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2011-06-09 15:00:55 +0200
commita2e391558915c29a5d1771bed2f39173398b289d (patch)
treeddee2a4ab5841ae9c8e30dea4893182cb191a171
parentc067704f25f8ef74e53d16a333067767b69e06dd (diff)
downloadportage-a2e391558915c29a5d1771bed2f39173398b289d.tar.gz
portage-a2e391558915c29a5d1771bed2f39173398b289d.tar.bz2
portage-a2e391558915c29a5d1771bed2f39173398b289d.zip
Fix a typo and update a comment.
-rw-r--r--pym/portage/util/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/util/__init__.py b/pym/portage/util/__init__.py
index 28e9428d9..8c5352239 100644
--- a/pym/portage/util/__init__.py
+++ b/pym/portage/util/__init__.py
@@ -535,8 +535,8 @@ def getconfig(mycfg, tolerant=0, allow_sourcing=False, expand=True):
expand_map = {}
mykeys = {}
try:
- # NOTE: shex doesn't seem to support unicode objects
- # (produces spurious \0 characters with python-2.6.2)
+ # NOTE: shlex doesn't support unicode objects with Python 2
+ # (produces spurious \0 characters).
if sys.hexversion < 0x3000000:
content = open(_unicode_encode(mycfg,
encoding=_encodings['fs'], errors='strict'), 'rb').read()