From: Zac Medico Date: Thu, 2 Sep 2010 19:54:50 +0000 (-0700) Subject: Fix breakage for python3 from trying to mix bytes and unicode in X-Git-Tag: v2.2_rc74~8 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=63c4978546e5f567a974b5e342eee5408c929b41;p=portage.git Fix breakage for python3 from trying to mix bytes and unicode in load_default_config(). --- 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