Make sure to skip info dir files with the .old extension.
authorZac Medico <zmedico@gentoo.org>
Tue, 14 Aug 2007 20:15:51 +0000 (20:15 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 14 Aug 2007 20:15:51 +0000 (20:15 -0000)
svn path=/main/trunk/; revision=7602

pym/emerge/__init__.py

index 95a4b0e73b8586b58bbb2724d4cdfa0c84f0aa2f..61273b3cb73d190c14a5abc04a2fbd9d78fbe184 100644 (file)
@@ -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: