From 9dd3f5839dcf2910ced109860b4ef94626f2fbda Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 31 Jan 2009 20:29:17 +0000 Subject: [PATCH] Always ignore hidden files when generating Manifests. Thanks to Christian Ruppert for reporting. svn path=/main/trunk/; revision=12566 --- 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