summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/manifest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/manifest.py b/pym/portage/manifest.py
index 02836e7ec..9150674a9 100644
--- 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)