Allow --rebuilt-binaries to trigger downgrades. (trunk r15373)
authorZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 20:31:42 +0000 (20:31 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 20:31:42 +0000 (20:31 -0000)
svn path=/main/branches/2.1.7/; revision=15600

pym/_emerge/depgraph.py

index cd71c91057cea14672a12cef53d2b3aa3b432dd6..1e781628726754d896c0dfba1ce1daf4b73527db 100644 (file)
@@ -2630,8 +2630,7 @@ class depgraph(object):
                                        elif pkg.built:
                                                built_pkg = pkg
                                if built_pkg is not None and inst_pkg is not None:
-                                       if built_pkg >= inst_pkg and \
-                                               built_pkg.metadata['BUILD_TIME'] != \
+                                       if built_pkg.metadata['BUILD_TIME'] != \
                                                inst_pkg.metadata['BUILD_TIME']:
                                                return built_pkg, built_pkg