From: Zac Medico Date: Tue, 14 Aug 2007 20:15:51 +0000 (-0000) Subject: Make sure to skip info dir files with the .old extension. X-Git-Tag: v2.2_pre1~886 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4e96f8c6317b5f1eae7f9b4b6697a282afde648a;p=portage.git Make sure to skip info dir files with the .old extension. svn path=/main/trunk/; revision=7602 --- 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: