summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/_sets/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage/_sets/__init__.py b/pym/portage/_sets/__init__.py
index 44a453829..e2db3eea4 100644
--- a/pym/portage/_sets/__init__.py
+++ b/pym/portage/_sets/__init__.py
@@ -231,7 +231,8 @@ 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:
- yield os.path.join(path, f)
+ if not f.startswith('.'):
+ yield os.path.join(path, f)
dbapi = trees["porttree"].dbapi
for repo in dbapi.getRepositories():