projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b65a8b
)
Make manifest2AuxfileFilter() slightly more efficient and also ignore any hidden...
author
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Oct 2006 07:13:26 +0000
(07:13 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Oct 2006 07:13:26 +0000
(07:13 -0000)
svn path=/main/trunk/; revision=4656
pym/portage_manifest.py
patch
|
blob
|
history
diff --git
a/pym/portage_manifest.py
b/pym/portage_manifest.py
index 687d7ca103966db5351a1cc0c8d19dd69a078124..aa6f0c015a34e6be11875eccb52cd14c7202015c 100644
(file)
--- a/
pym/portage_manifest.py
+++ b/
pym/portage_manifest.py
@@
-16,9
+16,11
@@
class FileNotInManifestException(PortageException):
def manifest2AuxfileFilter(filename):
filename = filename.strip(os.sep)
- for ignored_dir in ("CVS", ".bzr",".git",".svn"):
- if filename == ignored_dir or \
- ignored_dir in filename.split(os.sep):
+ mysplit = filename.split(os.path.sep)
+ if "CVS" in mysplit:
+ return False
+ for x in mysplit:
+ if x.startswith("."):
return False
return not filename.startswith("digest-")