From: Zac Medico Date: Wed, 11 Mar 2009 03:30:14 +0000 (-0000) Subject: Always ignore hidden files when generating Manifests. Thanks to Christian X-Git-Tag: v2.1.6.8~230 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0d482074f71a8baf2cc585b1c78e5b4b010a0982;p=portage.git Always ignore hidden files when generating Manifests. Thanks to Christian Ruppert for reporting. (trunk r12566) svn path=/main/branches/2.1.6/; revision=12847 --- 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)