From: Zac Medico Date: Fri, 6 Oct 2006 22:03:40 +0000 (-0000) Subject: In update_dbentries(), use != rather than "is not" to make sure that updates never... X-Git-Tag: v2.1.2~698 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=42b85c0d4bceb13489c5f12c9e24039c10b132c0;p=portage.git In update_dbentries(), use != rather than "is not" to make sure that updates never occur unnecessarily. svn path=/main/trunk/; revision=4607 --- diff --git a/pym/portage_update.py b/pym/portage_update.py index f96227789..5f5af809f 100644 --- a/pym/portage_update.py +++ b/pym/portage_update.py @@ -43,7 +43,7 @@ def update_dbentries(update_iter, mydata): orig_content = mycontent for update_cmd in update_iter: mycontent = update_dbentry(update_cmd, mycontent) - if mycontent is not orig_content: + if mycontent != orig_content: updated_items[k] = mycontent return updated_items