From: Zac Medico Date: Sat, 31 Jan 2009 20:29:17 +0000 (-0000) Subject: Always ignore hidden files when generating Manifests. Thanks to Christian X-Git-Tag: v2.2_rc24~236 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9dd3f5839dcf2910ced109860b4ef94626f2fbda;p=portage.git Always ignore hidden files when generating Manifests. Thanks to Christian Ruppert for reporting. svn path=/main/trunk/; revision=12566 --- 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)