From 0d482074f71a8baf2cc585b1c78e5b4b010a0982 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 11 Mar 2009 03:30:14 +0000 Subject: [PATCH] Always ignore hidden files when generating Manifests. Thanks to Christian Ruppert for reporting. (trunk r12566) svn path=/main/branches/2.1.6/; revision=12847 --- pym/portage/manifest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pym/portage/manifest.py b/pym/portage/manifest.py index 384da250a..0fc0a6b4a 100644 --- a/pym/portage/manifest.py +++ b/pym/portage/manifest.py @@ -291,7 +291,9 @@ class Manifest(object): for pkgdir, pkgdir_dirs, pkgdir_files in os.walk(self.pkgdir): break for f in pkgdir_files: - if f.endswith(".ebuild"): + if f[:1] == ".": + continue + elif f[-7:] == ".ebuild": mytype = "EBUILD" pf = f[:-7] ps = portage.versions.pkgsplit(pf) -- 2.26.2