Fix a typo and update a comment.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Thu, 9 Jun 2011 13:00:55 +0000 (15:00 +0200)
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Thu, 9 Jun 2011 13:00:55 +0000 (15:00 +0200)
pym/portage/util/__init__.py

index 28e9428d95115026894e67ebe403c881666d3214..8c5352239836a0330a3c2b381a55437bf13f2de8 100644 (file)
@@ -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()