summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-08-14 20:15:51 +0000
committerZac Medico <zmedico@gentoo.org>2007-08-14 20:15:51 +0000
commit4e96f8c6317b5f1eae7f9b4b6697a282afde648a (patch)
tree912369bee88baedbb6db8b470275fa3d5175160c
parentde884c6391426c3b9092475577a9fafdccb4c971 (diff)
downloadportage-4e96f8c6317b5f1eae7f9b4b6697a282afde648a.tar.gz
portage-4e96f8c6317b5f1eae7f9b4b6697a282afde648a.tar.bz2
portage-4e96f8c6317b5f1eae7f9b4b6697a282afde648a.zip
Make sure to skip info dir files with the .old extension.
svn path=/main/trunk/; revision=7602
-rw-r--r--pym/emerge/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index 95a4b0e73..61273b3cb 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -4252,7 +4252,8 @@ def chk_updated_info_files(root, infodirs, prev_mtimes, retval):
if x.startswith("dir"):
skip = False
for ext in dir_extensions:
- if x == "dir" + ext:
+ if x == "dir" + ext or \
+ x == "dir" + ext + ".old":
skip = True
break
if skip: