projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50fb774
)
Use slices instead of startswith inside manifest2AuxfileFilter(). (trunk r12823)
author
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 07:48:02 +0000
(07:48 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 11 Mar 2009 07:48:02 +0000
(07:48 -0000)
svn path=/main/branches/2.1.6/; revision=13054
pym/portage/manifest.py
patch
|
blob
|
history
diff --git
a/pym/portage/manifest.py
b/pym/portage/manifest.py
index 02836e7ece8009f11711423538cc0b2f9a4e7909..9150674a958994226229d0862199ec39be017314 100644
(file)
--- a/
pym/portage/manifest.py
+++ b/
pym/portage/manifest.py
@@
-21,9
+21,9
@@
def manifest2AuxfileFilter(filename):
if "CVS" in mysplit:
return False
for x in mysplit:
- if x
.startswith(".")
:
+ if x
[:1] == '.'
:
return False
- return not filename
.startswith("digest-")
+ return not filename
[:7] == 'digest-'
def manifest2MiscfileFilter(filename):
filename = filename.strip(os.sep)