projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f440664
)
Omit dotfiles in /usr/share/portage/config/sets (e.g. vim swapfiles).
author
Michał Górny
<gentoo@mgorny.alt.pl>
Thu, 2 Sep 2010 18:31:12 +0000
(20:31 +0200)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 2 Sep 2010 18:34:56 +0000
(11:34 -0700)
pym/portage/_sets/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/_sets/__init__.py
b/pym/portage/_sets/__init__.py
index 44a45382970e80935083fdabef15ecee6543cf73..e2db3eea43a4049f13385128bf39552227aeed27 100644
(file)
--- 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():