Allow --rebuilt-binaries to trigger downgrades.
authorZac Medico <zmedico@gentoo.org>
Thu, 18 Feb 2010 21:52:18 +0000 (21:52 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 18 Feb 2010 21:52:18 +0000 (21:52 -0000)
svn path=/main/trunk/; revision=15373

pym/_emerge/depgraph.py

index aec61bd5c3442b5226480979fc87303a5f7311f6..42e5deeef3dd562878fb0a9269115afb0efe96ab 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