diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-09-02 12:54:50 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-09-02 12:54:50 -0700 |
commit | 63c4978546e5f567a974b5e342eee5408c929b41 (patch) | |
tree | e9cdf5beb388f2587e9cff45b89a5fc10e654fcc | |
parent | c8599e6d0a7cda12e4d1ce8796283fae2a2b4061 (diff) | |
download | portage-63c4978546e5f567a974b5e342eee5408c929b41.tar.gz portage-63c4978546e5f567a974b5e342eee5408c929b41.tar.bz2 portage-63c4978546e5f567a974b5e342eee5408c929b41.zip |
Fix breakage for python3 from trying to mix bytes and unicode in
load_default_config().
-rw-r--r-- | pym/portage/_sets/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/_sets/__init__.py b/pym/portage/_sets/__init__.py index e2db3eea4..1b3484ec1 100644 --- a/pym/portage/_sets/__init__.py +++ b/pym/portage/_sets/__init__.py @@ -231,7 +231,7 @@ def load_default_config(settings, trees): def _getfiles(): for path, dirs, files in os.walk(os.path.join(global_config_path, "sets")): for f in files: - if not f.startswith('.'): + if not f.startswith(b'.'): yield os.path.join(path, f) dbapi = trees["porttree"].dbapi |